summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-13 17:21:32 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-13 17:21:32 -0700
commit725958d822393c56cff9e8556d1230f99d3066cb (patch)
tree5afbe8e38f9f2a3ace406b2bc23b788d248a686c /rust
parentc9c0b4bd6560758ceb1e26424e34cd21c2077ac6 (diff)
downloadfatcat-cli-725958d822393c56cff9e8556d1230f99d3066cb.tar.gz
fatcat-cli-725958d822393c56cff9e8556d1230f99d3066cb.zip
use -n as short arg for limit/num
Diffstat (limited to 'rust')
-rw-r--r--rust/fatcat-cli/src/main.rs6
1 files 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<String>,
- #[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<String>,
- #[structopt(long, short, default_value = "20")]
+ #[structopt(long, short = "-n", default_value = "20")]
limit: i64,
#[structopt(long = "--search-schema")]