Skip to content

Commit

Permalink
fixing global flag help text for queryParam
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Apr 15, 2021
1 parent b823bcb commit 0ed52bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) *CmdRoot {
cmd.PersistentFlags().Bool("noProxy", false, "Ignore the proxy settings")
cmd.PersistentFlags().Bool("withError", false, "Errors will be printed on stdout instead of stderr")
cmd.PersistentFlags().StringSliceP("header", "H", nil, `custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue"`)
cmd.PersistentFlags().StringSlice("queryParam", nil, `custom query parameters. i.e. --queryParam "withCustomOption=true myOtherOption=myvalue"`)
cmd.PersistentFlags().StringSlice("queryParam", nil, `custom query parameters. i.e. --queryParam "withCustomOption=true,myOtherOption=myvalue"`)

// Activity log
cmd.PersistentFlags().BoolVar(&ccmd.NoLog, "noLog", false, "Disables the activity log for the current command")
Expand Down

0 comments on commit 0ed52bd

Please sign in to comment.