mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Suppress usage on nodefirmware error
It is very bizarre to have the usage output after an error.
This commit is contained in:
parent
19c2963cf9
commit
a77b65737e
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user