Skip to content

Commit

Permalink
Merge pull request #444 from kartikaysaxena/main
Browse files Browse the repository at this point in the history
Display usage string when incorrect arg number
  • Loading branch information
tstirrat15 authored Jan 2, 2025
2 parents c7e8ed1 + 9638ef2 commit 1c4e5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func Run() {
commands.InjectRequestID,
),
SilenceErrors: true,
SilenceUsage: true,
SilenceUsage: false,
}
rootCmd.SetFlagErrorFunc(func(cmd *cobra.Command, err error) error {
cmd.Println(err)
Expand Down

0 comments on commit 1c4e5c2

Please sign in to comment.