From a2426d1fd3f9345e4d1ffdcb30dd113d451ee69d Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Wed, 8 Sep 2021 11:39:02 -0700 Subject: [PATCH] if we return from Cobra command with error, don't show help. --- internal/app/wwctl/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/app/wwctl/root.go b/internal/app/wwctl/root.go index 839425d2..94d39b95 100644 --- a/internal/app/wwctl/root.go +++ b/internal/app/wwctl/root.go @@ -22,6 +22,7 @@ var ( Short: "Warewulf Control", Long: "Control interface to the Cluster Warewulf Provisioning System.", PersistentPreRunE: rootPersistentPreRunE, + SilenceUsage: true, } verboseArg bool debugArg bool