Skip to content

Commit

Permalink
Simplify dry-run argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Circuitsoft committed Oct 10, 2017
1 parent 5a512cd commit d8e0e65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyaci/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit d8e0e65

Please sign in to comment.