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.
1 parent 46b2891 commit 871d6ddCopy full SHA for 871d6dd
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