mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +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
@@ -166,10 +166,10 @@ EXEMPT_FILES = {
|
||||
parser = argparse.ArgumentParser(USAGE)
|
||||
parser.add_argument('--coverage',
|
||||
action="store_true",
|
||||
default=False, help='Get coverage report')
|
||||
help='Get coverage report')
|
||||
parser.add_argument('--force',
|
||||
action="store_true",
|
||||
default=False, help='Run tests despite possible problems.')
|
||||
help='Run tests despite possible problems.')
|
||||
parser.add_argument('args', nargs=argparse.REMAINDER)
|
||||
options = parser.parse_args()
|
||||
individual_files = options.args
|
||||
|
||||
Reference in New Issue
Block a user