mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +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
@@ -52,16 +52,16 @@ parser.add_argument('--interface',
|
||||
default=None, help='Set the IP or hostname for the proxy to listen on')
|
||||
parser.add_argument('--no-clear-memcached',
|
||||
action='store_false', dest='clear_memcached',
|
||||
default=True, help='Do not clear memcached')
|
||||
help='Do not clear memcached')
|
||||
parser.add_argument('--streamlined',
|
||||
action="store_true",
|
||||
default=False, help='Avoid thumbor, etc.')
|
||||
help='Avoid thumbor, etc.')
|
||||
parser.add_argument('--force',
|
||||
action="store_true",
|
||||
default=False, help='Run command despite possible problems.')
|
||||
help='Run command despite possible problems.')
|
||||
parser.add_argument('--enable-tornado-logging',
|
||||
action="store_true",
|
||||
default=False, help='Enable access logs from tornado proxy server.')
|
||||
help='Enable access logs from tornado proxy server.')
|
||||
options = parser.parse_args()
|
||||
|
||||
assert_provisioning_status_ok(options.force)
|
||||
|
||||
Reference in New Issue
Block a user