From d8e0e6550122f945079730869c6e9f2855e04568 Mon Sep 17 00:00:00 2001 From: Alex Austin Date: Tue, 10 Oct 2017 14:43:23 -0500 Subject: [PATCH] Simplify dry-run argument --- pyaci/upload.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyaci/upload.py b/pyaci/upload.py index 64a917a..01bff1d 100755 --- a/pyaci/upload.py +++ b/pyaci/upload.py @@ -168,6 +168,7 @@ def run(self): parser.add_argument("-c", "--config", dest="config", help="Configuration file, e.g. ~/.sensei.yaml") parser.add_argument("-d", "--dry-run", dest="dry_run", + action='store_const', const=True, help="Dry run. Do not actually upload anything") options = parser.parse_args()