From 32388ecb860949fe72941cd50a65964dc9c18e1e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 10 Feb 2021 14:39:55 -0800 Subject: batch options cascade to sub-commands --- fatcat-cli/src/main.rs | 4 ++-- 1 file 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 { -- cgit v1.2.3