diff --git a/command/pr.go b/command/pr.go index 49e1f3c9a..d6873b4d7 100644 --- a/command/pr.go +++ b/command/pr.go @@ -69,6 +69,7 @@ With '--web', open the pull request in a web browser instead.`, var prCloseCmd = &cobra.Command{ Use: "close [{ | }]", Short: "Close a pull request", + Args: cobra.ExactArgs(1), RunE: prClose, }