diff --git a/stressTest.py b/stressTest.py index b21789c3..ce3b81fd 100644 --- a/stressTest.py +++ b/stressTest.py @@ -98,9 +98,8 @@ def get_metrics(output_file): parser.add_argument("--job_path", type=str, required=True, help="Path to the job") parser.add_argument( "--get_metrics", - type=bool, - default=False, - help="Set to true to get metrics, does not create new jobs", + action = "store_true", + help="Get metrics without creating new jobs" ) args = parser.parse_args() @@ -117,4 +116,4 @@ def get_metrics(output_file): args.tango_path, args.job_name, args.job_path, - ) + ) \ No newline at end of file