Skip to content

Commit

Permalink
Mark event as required option for qed client add subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
gdiazlo committed Apr 10, 2019
1 parent 8c11b0a commit 2a256fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/client_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var clientAddEvent string
func init() {

clientAddCmd.Flags().StringVar(&clientAddEvent, "event", "", "Event to append to QED")
clientAddCmd.MarkFlagRequired("clientAddEvent")
clientAddCmd.MarkFlagRequired("event")

clientCmd.AddCommand(clientAddCmd)
}
Expand Down

0 comments on commit 2a256fd

Please sign in to comment.