fix arg parsing for shell arg

This commit is contained in:
Carson McManus 2022-06-19 12:39:33 -04:00
parent 221e64ab8c
commit 1b7c089fa1

View file

@ -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,
} }