Skip to content

Commit c1abaab

Browse files
committed
Turned --silent into --verbose (since --silent mistakenly implemented a
verbose behavior!)
1 parent 2595918 commit c1abaab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bin/wfbench

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def get_parser() -> argparse.ArgumentParser:
358358
"(e.g., --output-files {\\\"file1\\\": 1024, \\\"file2\\\": 2048}).")
359359
parser.add_argument("--input-files", help="Input files names as a JSON array "
360360
"(e.g., --input-files [\\\"file3\\\", \\\"file4\\\"]).")
361-
parser.add_argument("--silent", action="store_true", help="Disable all log messages.")
361+
parser.add_argument("--verbose", action="store_true", help="Enable all log messages.")
362362
parser.add_argument("--debug", action="store_true", help="Enable debug log messages.")
363363
parser.add_argument("--with-flowcept", action="store_true", default=False, help="Enable Flowcept monitoring.")
364364
parser.add_argument("--workflow_id", default=None, help="Id to group tasks in a workflow.")
@@ -412,7 +412,7 @@ def kill_current_handles(handles: list[ProcessHandle]):
412412
handle.terminate_along_with_children()
413413

414414

415-
def run(workflow_id, name, with_flowcept, silent, debug, rundir, path_lock, path_cores,
415+
def run(workflow_id, name, with_flowcept, verbose, debug, rundir, path_lock, path_cores,
416416
time_limit, cpu_work, percent_cpu, mem, gpu_work, num_chunks,
417417
input_files, output_files):
418418
"""Main function."""
@@ -423,7 +423,7 @@ def run(workflow_id, name, with_flowcept, silent, debug, rundir, path_lock, path
423423
flowcept = None
424424
flowcept_task = None
425425

426-
if silent:
426+
if verbose:
427427
logging.getLogger().setLevel(logging.NOTSET)
428428
if debug:
429429
logging.getLogger().setLevel(logging.DEBUG)

0 commit comments

Comments
 (0)