Skip to content

Commit

Permalink
Fix typo in agent publisher command usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Luis Lucas committed Nov 23, 2018
1 parent 07671af commit 4f43f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/agent_publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func newAgentPublisherCommand(ctx *agentContext) *cobra.Command {
var endpoints []string

cmd := &cobra.Command{
Use: "monitor",
Use: "publisher",
Short: "Start a QED publisher",
Long: `Start a QED publisher that reacts to snapshot batches
propagated by QED servers and periodically publishes them to
Expand Down Expand Up @@ -57,7 +57,7 @@ func newAgentPublisherCommand(ctx *agentContext) *cobra.Command {
}

cmd.Flags().StringSliceVarP(&endpoints, "endpoints", "", []string{}, "Comma-delimited list of end-publishers ([host]:port), through which an publisher can send requests")
cmd.MarkPersistentFlagRequired("endpoints")
cmd.MarkFlagRequired("endpoints")

return cmd
}

0 comments on commit 4f43f95

Please sign in to comment.