From 725958d822393c56cff9e8556d1230f99d3066cb Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 13 Jun 2020 17:21:32 -0700 Subject: use -n as short arg for limit/num --- rust/fatcat-cli/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/fatcat-cli/src/main.rs b/rust/fatcat-cli/src/main.rs index 0e5e4e8..7c5595f 100644 --- a/rust/fatcat-cli/src/main.rs +++ b/rust/fatcat-cli/src/main.rs @@ -45,14 +45,14 @@ enum EditgroupCommand { #[structopt(long = "--editor-id", short)] editor_id: Option, - #[structopt(long, short, default_value = "20")] + #[structopt(long, short = "-n", default_value = "20")] limit: i64, #[structopt(long)] json: bool, }, Reviewable { - #[structopt(long, short, default_value = "20")] + #[structopt(long, short = "-n", default_value = "20")] limit: i64, #[structopt(long)] @@ -149,7 +149,7 @@ enum Command { #[structopt(long = "--hide")] hide: Option, - #[structopt(long, short, default_value = "20")] + #[structopt(long, short = "-n", default_value = "20")] limit: i64, #[structopt(long = "--search-schema")] -- cgit v1.2.3