mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-07 13:25:37 +00:00
Suppress usage on nodefirmware error
It is very bizarre to have the usage output after an error.
This commit is contained in:
@ -151,7 +151,7 @@ def show_firmware(session):
|
||||
for prefix in inv:
|
||||
firmware_shown = True
|
||||
printfirm(node, prefix, inv[prefix])
|
||||
if not firmware_shown:
|
||||
if not firmware_shown and not exitcode:
|
||||
argparser.print_help()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user