Skip to content

Commit 1e7f55b

Browse files
committed
fix: sound meta -a error
1 parent 10adbf2 commit 1e7f55b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/audio_meta.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,8 @@ impl SimplePluginCommand for SoundMetaGetCmd {
4848

4949
fn signature(&self) -> Signature {
5050
Signature::new("sound meta")
51-
.named(
52-
"all",
53-
SyntaxShape::Nothing,
54-
"List all possible frame names",
55-
Some('a'),
56-
)
57-
.required("File Path", SyntaxShape::Filepath, "file to play")
51+
.switch("all", "List all possible frame names", Some('a'))
52+
.optional("File Path", SyntaxShape::Filepath, "file to play")
5853
.category(Category::Experimental)
5954
}
6055

0 commit comments

Comments
 (0)