summaryrefslogtreecommitdiffstats
path: root/fatcat-cli/src/main.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-02-10 14:39:55 -0800
committerBryan Newbold <bnewbold@archive.org>2021-02-10 14:39:55 -0800
commit32388ecb860949fe72941cd50a65964dc9c18e1e (patch)
tree30420f52b4555743a09c736a6f134c506201364a /fatcat-cli/src/main.rs
parent64b7dd2cd2e55008851ba5011032433e568d3544 (diff)
downloadfatcat-cli-32388ecb860949fe72941cd50a65964dc9c18e1e.tar.gz
fatcat-cli-32388ecb860949fe72941cd50a65964dc9c18e1e.zip
batch options cascade to sub-commands
Diffstat (limited to 'fatcat-cli/src/main.rs')
-rw-r--r--fatcat-cli/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat-cli/src/main.rs b/fatcat-cli/src/main.rs
index 760f851..7294735 100644
--- a/fatcat-cli/src/main.rs
+++ b/fatcat-cli/src/main.rs
@@ -102,10 +102,10 @@ enum BatchCommand {
Create {
entity_type: EntityType,
- #[structopt(long, default_value = "50")]
+ #[structopt(long, default_value = "50", global = true)]
batch_size: u64,
- #[structopt(long)]
+ #[structopt(long, global = true)]
auto_accept: bool,
},
Update {