Commit efec2c1d authored by one's avatar one
Browse files

[xcl-lens] Add --no-raw

parent 08efe206
......@@ -34,7 +34,7 @@ def main():
# Parse command line arguments
parser = argparse.ArgumentParser(description="RCCL Log Parser Wrapper")
parser.add_argument(
"--raw", action="store_true", help="Print raw log lines in addition to the report"
"--no-raw", action="store_true", help="Don't print raw log lines in addition to the report"
)
parser.add_argument("-v", "--verbose", action="store_true", help="Print verbose reports")
parser.add_argument(
......@@ -72,7 +72,7 @@ def main():
# Collect all output lines
for line in process.stdout:
if args.raw:
if not args.no_raw:
print(f"{line}", end="", flush=True)
parser.collect(line)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment