Skip to content

Commit 1c4e5c2

Browse files
authored
Merge pull request #444 from kartikaysaxena/main
Display usage string when incorrect arg number
2 parents c7e8ed1 + 9638ef2 commit 1c4e5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/cmd/cmd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func Run() {
5555
commands.InjectRequestID,
5656
),
5757
SilenceErrors: true,
58-
SilenceUsage: true,
58+
SilenceUsage: false,
5959
}
6060
rootCmd.SetFlagErrorFunc(func(cmd *cobra.Command, err error) error {
6161
cmd.Println(err)

0 commit comments

Comments
 (0)