diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-10-16 01:12:49 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-10-16 01:12:49 +0200 |
| commit | d35c9171271110339504abd96065dc25e1290500 (patch) | |
| tree | fc00b27a5096ece4349de1ff422576a96da8e671 /mumctl | |
| parent | 5c3dd13cf344c51af145e324daa7103eec0cb8ae (diff) | |
| download | mum-d35c9171271110339504abd96065dc25e1290500.tar.gz | |
add args for other shells
Diffstat (limited to 'mumctl')
| -rw-r--r-- | mumctl/src/main.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mumctl/src/main.rs b/mumctl/src/main.rs index 41c7306..124cc8c 100644 --- a/mumctl/src/main.rs +++ b/mumctl/src/main.rs @@ -32,7 +32,13 @@ fn main() { .arg(Arg::with_name("channel") .required(true)))) .subcommand(SubCommand::with_name("status")) - .subcommand(SubCommand::with_name("completions")); + .subcommand(SubCommand::with_name("completions") + .arg(Arg::with_name("zsh") + .long("zsh")) + .arg(Arg::with_name("bash") + .long("bash")) + .arg(Arg::with_name("fish") + .long("fish"))); let matches = app.clone().get_matches(); |
