Skip to content

Commit

Permalink
mandatory flag is called 'id' instead of 'message'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Jan 10, 2021
1 parent 945b7cf commit d7fd228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bm-json/cmd/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ func init() {
messageAccount = messageCmd.Flags().StringP("account", "a", "", "Account")
messageID = messageCmd.Flags().String("id", "", "Message ID")
_ = messageCmd.MarkFlagRequired("account")
_ = messageCmd.MarkFlagRequired("message")
_ = messageCmd.MarkFlagRequired("id")
}

0 comments on commit d7fd228

Please sign in to comment.