Skip to content

Commit

Permalink
Typo in subject flag of publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
johnweldon committed Jan 24, 2024
1 parent 4e2df9f commit 66a8a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pub_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Available template functions are:
pub := app.Command("publish", "Generic data publish utility").Alias("pub").Action(c.publish)
addCheat("pub", pub)
pub.HelpLong(pubHelp)
pub.Arg("subject", "Subject to subscribe to").Required().StringVar(&c.subject)
pub.Arg("subject", "Subject to publish to").Required().StringVar(&c.subject)
pub.Arg("body", "Message body").Default("!nil!").StringVar(&c.body)
pub.Flag("reply", "Sets a custom reply to subject").StringVar(&c.replyTo)
pub.Flag("header", "Adds headers to the message").Short('H').StringsVar(&c.hdrs)
Expand Down

0 comments on commit 66a8a8a

Please sign in to comment.