python: Remove redundant dest for argparse arguments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-09-01 19:49:02 -07:00
committed by Tim Abbott
parent 4d583e3d41
commit a5dbab8fb0
60 changed files with 53 additions and 127 deletions

View File

@@ -20,11 +20,11 @@ def parse_args() -> argparse.Namespace:
nargs="?", metavar="<days>", help="Deployments older than "
"threshold days will be deleted. (defaults to 14)")
parser.add_argument(
"--dry-run", dest="dry_run", action="store_true",
"--dry-run", action="store_true",
help="If specified then script will only print the deployments and "
"caches that it will delete/keep back. It will not delete anything.")
parser.add_argument(
"--verbose", dest="verbose", action="store_true",
"--verbose", action="store_true",
help="If specified then script will print a detailed report "
"of what is going on.")