summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-07-03 01:02:56 +0100
committerCarl Hetherington <cth@carlh.net>2017-07-03 01:02:56 +0100
commit8211724255f11c5416d07149a822e3e0c3296a37 (patch)
treed38ec4e4bf92d46b46ccdbc04f892fa503478302
parent66aaec1a184050ff24a743949a6147968d3ef16a (diff)
Fix missing action on command line argument.
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index 75230b4..69320ba 100755
--- a/cdist
+++ b/cdist
@@ -783,7 +783,7 @@ def main():
parser.add_argument('-w', '--work', help='override default work directory')
parser.add_argument('-g', '--git-prefix', help='override configured git prefix')
parser.add_argument('--test', help='name of test to run (with `test''), defaults to all')
- parser.add_argument('-n', '--dry-run', help='run the process without building anything')
+ parser.add_argument('-n', '--dry-run', help='run the process without building anything', action='store_true')
args = parser.parse_args()
# Override configured stuff