Skip to content

Commit

Permalink
issue_list: fix help message wrt issue state
Browse files Browse the repository at this point in the history
It's also possible to request the issue_list command to list issues 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 <[email protected]>
  • Loading branch information
bmeneg committed Feb 17, 2021
1 parent a501391 commit 02e44ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/issue_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func init() {
"filter issues by label")
issueListCmd.Flags().StringVarP(
&issueState, "state", "s", "opened",
"filter issues by state (opened/closed)")
"filter issues by state (all/opened/closed)")
issueListCmd.Flags().IntVarP(
&issueNumRet, "number", "n", 10,
"number of issues to return")
Expand Down

0 comments on commit 02e44ae

Please sign in to comment.