require one arg

This commit is contained in:
Corey Johnson 2020-04-30 11:41:39 -07:00
parent af6eaa8ca2
commit 4bf778b136

View file

@ -69,6 +69,7 @@ With '--web', open the pull request in a web browser instead.`,
var prCloseCmd = &cobra.Command{
Use: "close [{<number> | <url>}]",
Short: "Close a pull request",
Args: cobra.ExactArgs(1),
RunE: prClose,
}