diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-10-20T11·13+0200 |
---|---|---|
committer | Karl Erik Asbjørnsen <karl@asbjornsen.org> | 2017-10-20T11·17+0200 |
commit | 23ac0eef87811271a1e0b4072ed1fe7161fb6142 (patch) | |
tree | 5b82f709ec25eff38ec309e16681414c603f1009 /src/main.rs | |
parent | 79a27f8f0d5251cde3d1577665285a79da59880a (diff) |
refactor: More sensible CLI structure
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index ee4e7ad231d0..006ae5c4f770 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,7 +61,6 @@ fn main() { let inspect = SubCommand::with_name("inspect") .about("inspect details about a queue") .arg(Arg::with_name("queue") - .short("q") .required(true) .takes_value(true)); @@ -72,10 +71,12 @@ fn main() { .takes_value(true)) .arg(Arg::with_name("max-size") .help("maximum message size (in kB)") + .long("max-size") .required(true) .takes_value(true)) .arg(Arg::with_name("max-pending") .help("maximum # of pending messages") + .long("max-pending") .required(true) .takes_value(true)); |