Fix missing action on command line argument.
[cdist.git] / cdist
diff --git a/cdist b/cdist
index 75230b4b52551579b513a73353b592e6897db287..69320ba4f14778a5725370bdc9699572942d2143 100755 (executable)
--- 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