Apply the no-args handler to issue/pr status commands
This commit is contained in:
parent
b838ac4014
commit
27cce8e3ca
2 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ var issueListCmd = &cobra.Command{
|
|||
var issueStatusCmd = &cobra.Command{
|
||||
Use: "status",
|
||||
Short: "Show status of relevant issues",
|
||||
Args: cmdutil.NoArgsQuoteReminder,
|
||||
RunE: issueStatus,
|
||||
}
|
||||
var issueViewCmd = &cobra.Command{
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ var prListCmd = &cobra.Command{
|
|||
var prStatusCmd = &cobra.Command{
|
||||
Use: "status",
|
||||
Short: "Show status of relevant pull requests",
|
||||
Args: cmdutil.NoArgsQuoteReminder,
|
||||
RunE: prStatus,
|
||||
}
|
||||
var prViewCmd = &cobra.Command{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue