From 1b7c089fa1a73ae8e30ed96f5906d0f6adaa51fa Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Sun, 19 Jun 2022 12:39:33 -0400 Subject: [PATCH] fix arg parsing for shell arg --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index d085681..23620e0 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -80,7 +80,7 @@ pub(crate) struct ArgsDebug { #[derive(Debug, Clone, Parser)] #[clap(about="Generate shell completions")] 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, }