From a77b65737ea93ffa13ddc58421248bcd8b29837c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 12 Jul 2019 12:10:22 -0400 Subject: [PATCH] Suppress usage on nodefirmware error It is very bizarre to have the usage output after an error. --- confluent_client/bin/nodefirmware | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodefirmware b/confluent_client/bin/nodefirmware index 6789c77a..fa6a3cca 100755 --- a/confluent_client/bin/nodefirmware +++ b/confluent_client/bin/nodefirmware @@ -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()