fix arg parsing for shell arg
This commit is contained in:
parent
221e64ab8c
commit
1b7c089fa1
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ pub(crate) struct ArgsDebug {
|
||||||
#[derive(Debug, Clone, Parser)]
|
#[derive(Debug, Clone, Parser)]
|
||||||
#[clap(about="Generate shell completions")]
|
#[clap(about="Generate shell completions")]
|
||||||
pub(crate) struct ArgsCompletions {
|
pub(crate) struct ArgsCompletions {
|
||||||
#[clap(arg_enum, help = "The shell to generate completions for.")]
|
#[clap(short, long, arg_enum, help = "The shell to generate completions for.")]
|
||||||
pub shell: Shell,
|
pub shell: Shell,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue