Summary
Severity: Low
File: compliance_tool/aas_compliance_tool/cli.py:79,182
Description
The public CLI flag is --quite instead of --quiet. It is consistent throughout (definition + usage) so no runtime crash occurs, but any user or script using the standard --quiet convention gets unrecognized arguments: --quiet.
parser.add_argument('-q', '--quite', ...) # line 79 — should be --quiet
...
if manager.status is Status.SUCCESS and args.quite: # line 182
Additionally, line 180 contains dead code — parser.error() calls sys.exit(2) internally, making the exit() on the next line unreachable.
Fix
- Rename
--quite → --quiet in add_argument (line 79) and all references.
- Remove the unreachable
exit() on line 180.
Summary
Severity: Low
File:
compliance_tool/aas_compliance_tool/cli.py:79,182Description
The public CLI flag is
--quiteinstead of--quiet. It is consistent throughout (definition + usage) so no runtime crash occurs, but any user or script using the standard--quietconvention getsunrecognized arguments: --quiet.Additionally, line 180 contains dead code —
parser.error()callssys.exit(2)internally, making theexit()on the next line unreachable.Fix
--quite→--quietinadd_argument(line 79) and all references.exit()on line 180.