From de77e78ef57b0764d87ecf8de5d6aaa1ceb81afa Mon Sep 17 00:00:00 2001 From: UmairShahzad <18100099@lums.edu.pk> Date: Fri, 14 Feb 2020 14:15:07 +0500 Subject: [PATCH] added pr count string before printing PRs --- command/pr.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/command/pr.go b/command/pr.go index d1cb7e5be..917964d3b 100644 --- a/command/pr.go +++ b/command/pr.go @@ -206,6 +206,9 @@ func prList(cmd *cobra.Command, args []string) error { printMessage(colorErr, msg) return nil } + + prCountMsg := fmt.Sprintf("%d pull requests match your search\n", len(prs)) + printMessage(colorableErr(cmd), prCountMsg) table := utils.NewTablePrinter(cmd.OutOrStdout()) for _, pr := range prs {