python: Elide default for store_{true,false} argparse arguments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-09-02 11:45:48 -07:00
committed by Alex Vandiver
parent d9431a5e66
commit b4597a8ca8
46 changed files with 45 additions and 85 deletions

View File

@@ -17,7 +17,7 @@ logging.basicConfig(format="%(asctime)s restart-server: %(message)s",
level=logging.INFO)
parser = argparse.ArgumentParser()
parser.add_argument('--fill-cache', action='store_true', default=False,
parser.add_argument('--fill-cache', action='store_true',
help='Fill the memcached caches')
args = parser.parse_args()