mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53: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
@@ -21,11 +21,11 @@ DJANGO_PO_REGEX = re.compile('msgid "(.*?)"')
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--show-ignored',
|
||||
action='store_true', default=False,
|
||||
action='store_true',
|
||||
help='Show strings that passed the check because they '
|
||||
'contained ignored phrases.')
|
||||
parser.add_argument('--no-generate',
|
||||
action='store_true', default=False,
|
||||
action='store_true',
|
||||
help="Don't run makemessages command.")
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user