From 66a8a8a138ec7298957fd0bfeb27e75a28b54a95 Mon Sep 17 00:00:00 2001 From: John Weldon Date: Tue, 23 Jan 2024 17:23:17 -0700 Subject: [PATCH] Typo in subject flag of publish command --- cli/pub_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/pub_command.go b/cli/pub_command.go index 96bbecd7..23cf6579 100644 --- a/cli/pub_command.go +++ b/cli/pub_command.go @@ -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)