Skip to content

Commit af4ceb6

Browse files
committed
Remove usage info from log output
1 parent 9e7ff57 commit af4ceb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/gateway/commands.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ func createStaticModeCommand() *cobra.Command {
9393
)
9494

9595
cmd := &cobra.Command{
96-
Use: "static-mode",
97-
Short: "Configure NGINX in the scope of a single Gateway resource",
96+
Use: "static-mode",
97+
Short: "Configure NGINX in the scope of a single Gateway resource",
98+
SilenceUsage: true,
9899
RunE: func(cmd *cobra.Command, args []string) error {
99100
atom := zap.NewAtomicLevel()
100101

0 commit comments

Comments
 (0)