Skip to content

Commit

Permalink
mr_list: fix help message wrt MR state
Browse files Browse the repository at this point in the history
It's also possible to request the mr_list command to list MRs in any state
(`all` as defined by gitlab API). This patch adds this information to the
help message, so the user don't need to guess it.

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
  • Loading branch information
bmeneg committed Feb 17, 2021
1 parent 27f0557 commit a501391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mr_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func init() {
&mrLabels, "label", "l", []string{}, "filter merge requests by label")
listCmd.Flags().StringVarP(
&mrState, "state", "s", "opened",
"filter merge requests by state (opened/closed/merged)")
"filter merge requests by state (all/opened/closed/merged)")
listCmd.Flags().IntVarP(
&mrNumRet, "number", "n", 10,
"number of merge requests to return")
Expand Down

0 comments on commit a501391

Please sign in to comment.