-
Notifications
You must be signed in to change notification settings - Fork 608
better formatting of cmdline option error #2285
Copy link
Copy link
Closed
Description
Two issues spotted in scenario:
# python3 bin/sos report --all-logs=on
usage: sos report [options]
sos <component> [options]
Available components:
report, rep Collect files and command output in an archive
clean, cleaner, mask Obfuscate sensitive networking information in a report
collect, collector Collect an sos report from multiple nodes simultaneously report: error: argument --all-logs: ignored explicit argument 'on'
- the formatting lacks newlines before "
report: error: .." (or ideally print just thereport errorbut not the usage? as clearly we used proper component?) - I think we should support "
on/off/yes/no" to enable/disable cmdline options, likewise we do in config file
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels