We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e072a8 + 871d6dd commit 8b0a7deCopy full SHA for 8b0a7de
cmd/kube-apiserver/app/server.go
@@ -104,6 +104,9 @@ func NewAPIServerCommand() *cobra.Command {
104
for the api objects which include pods, services, replicationcontrollers, and
105
others. The API Server services REST operations and provides the frontend to the
106
cluster's shared state through which all other components interact.`,
107
+
108
+ // stop printing usage when the command errors
109
+ SilenceUsage: true,
110
RunE: func(cmd *cobra.Command, args []string) error {
111
verflag.PrintAndExitIfRequested()
112
utilflag.PrintFlags(cmd.Flags())
0 commit comments