mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
python: Elide default for store_{true,false} argparse arguments.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Alex Vandiver
parent
d9431a5e66
commit
b4597a8ca8
@@ -193,7 +193,7 @@ def generate_screenshot_from_config(integration_name: str, screenshot_config: Sc
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
group = parser.add_mutually_exclusive_group(required=True)
|
||||
group.add_argument('--all', default=False, action='store_true')
|
||||
group.add_argument('--all', action='store_true')
|
||||
group.add_argument('--integration', type=str, help='Name of the integration')
|
||||
parser.add_argument('--fixture', type=str, help='Name of the fixture file to use')
|
||||
parser.add_argument('--image-name', type=str, help='Name for the screenshot image')
|
||||
|
Reference in New Issue
Block a user