Browse Source

added default=False to argparser

Nate Brady 9 years ago
parent
commit
a6ead9a193
1 changed files with 2 additions and 2 deletions
  1. 2 2
      toolset/run-tests.py

+ 2 - 2
toolset/run-tests.py

@@ -146,8 +146,8 @@ def main(argv=None):
         help='''Affects : With unified, all server software is installed into a single directory. 
         With pertest each test gets its own installs directory, but installation takes longer''')
     parser.add_argument('--install-only', action='store_true', default=False, help='Do not run benchmark or verification, just install and exit')
-    parser.add_argument('--clean', action='store_true', help='Removes the results directory')
-    parser.add_argument('--clean-all', action='store_true', dest='clean_all', help='Removes the results and installs directories')
+    parser.add_argument('--clean', action='store_true', default=False, help='Removes the results directory')
+    parser.add_argument('--clean-all', action='store_true', dest='clean_all', default=False, help='Removes the results and installs directories')
 
     # Test options
     parser.add_argument('--test', nargs='+', help='names of tests to run')