From 143c80c56c22fa7ceffbd698b10cb48220ae037e Mon Sep 17 00:00:00 2001 From: Ravikanth C Date: Mon, 6 Jul 2020 19:40:49 +0530 Subject: [PATCH] Update pr.go --- command/pr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/pr.go b/command/pr.go index c70ab4da2..ae65b80a1 100644 --- a/command/pr.go +++ b/command/pr.go @@ -107,13 +107,13 @@ var prReopenCmd = &cobra.Command{ } var prMergeCmd = &cobra.Command{ Use: "merge [ | | ]", + Args: cobra.MaximumNArgs(1), Short: "Merge a pull request", Long: `Merge a pull request by providing the pull request number or url or the branch. By default, the source branch gets deleted after the merge is complete. If the source branch needs be retained, '--delete-branch=false' should be specified.`, - Args: cobra.MaximumNArgs(1), RunE: prMerge, } var prReadyCmd = &cobra.Command{