diff options
| author | Bryan Newbold <bnewbold@archive.org> | 2021-02-10 14:39:55 -0800 |
|---|---|---|
| committer | Bryan Newbold <bnewbold@archive.org> | 2021-02-10 14:39:55 -0800 |
| commit | 32388ecb860949fe72941cd50a65964dc9c18e1e (patch) | |
| tree | 30420f52b4555743a09c736a6f134c506201364a | |
| parent | 64b7dd2cd2e55008851ba5011032433e568d3544 (diff) | |
| download | fatcat-cli-32388ecb860949fe72941cd50a65964dc9c18e1e.tar.gz fatcat-cli-32388ecb860949fe72941cd50a65964dc9c18e1e.zip | |
batch options cascade to sub-commands
| -rw-r--r-- | fatcat-cli/src/main.rs | 4 |
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 { |
