From c0888c6a2b34311fb94f8f513bb87b4f877048ea Mon Sep 17 00:00:00 2001 From: Alastair Firth Date: Tue, 6 Sep 2016 02:27:55 +1000 Subject: [PATCH] correctly set meta flag for incident list (#26) --- command/incident_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/incident_list.go b/command/incident_list.go index 29eefa9b..48b4ca6f 100644 --- a/command/incident_list.go +++ b/command/incident_list.go @@ -34,7 +34,7 @@ func (c *IncidentList) Run(args []string) int { var timeZone string var sortBy string var includes []string - flags := c.Meta.FlagSet("service list") + flags := c.Meta.FlagSet("incident list") flags.Usage = func() { fmt.Println(c.Help()) } flags.Var((*ArrayFlags)(&includes), "include", "Additional details to include (can be specified multiple times)") flags.Var((*ArrayFlags)(&teamIDs), "team-id", "Only show for team ID (can be specified multiple times)")