From 23ac0eef87811271a1e0b4072ed1fe7161fb6142 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 20 Oct 2017 13:13:29 +0200 Subject: [PATCH] refactor: More sensible CLI structure --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ee4e7ad23..006ae5c4f 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));