python: Elide action="store" for argparse arguments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-09-02 12:10:51 -07:00
committed by Alex Vandiver
parent 1f2ac1962f
commit fbfd4b399d
19 changed files with 7 additions and 30 deletions

View File

@@ -16,11 +16,11 @@ class Command(BaseCommand):
parser.add_argument('app_label', nargs='?',
help='App label of an application to synchronize the state.')
parser.add_argument('--database', action='store',
parser.add_argument('--database',
default=DEFAULT_DB_ALIAS, help='Nominates a database to synchronize. '
'Defaults to the "default" database.')
parser.add_argument('--output', action='store',
parser.add_argument('--output',
help='Path to store the status to (default to stdout).')
def handle(self, *args: Any, **options: Any) -> None: