2
0
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:
Jarrod Johnson 2019-07-12 12:10:22 -04:00
parent 19c2963cf9
commit a77b65737e

View File

@ -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()