if we return from Cobra command with error, don't show help.

This commit is contained in:
Gregory Kurtzer
2021-09-08 11:39:02 -07:00
parent ee5b099e02
commit a2426d1fd3

View File

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