From b2350be56a0a58a90e16e6946001acf24ac2880d Mon Sep 17 00:00:00 2001 From: Tiernan L Date: Thu, 9 Jan 2020 09:54:34 -1000 Subject: [PATCH 1/4] change print to view --- command/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/root.go b/command/root.go index 033ee7284..ae5cf4499 100644 --- a/command/root.go +++ b/command/root.go @@ -25,7 +25,7 @@ func init() { RootCmd.PersistentFlags().StringP("repo", "R", "", "Select another repository using the `OWNER/REPO` format") RootCmd.PersistentFlags().Bool("help", false, "Show help for command") - RootCmd.Flags().Bool("version", false, "Print gh version") + RootCmd.Flags().Bool("version", false, "View gh version") // TODO: // RootCmd.PersistentFlags().BoolP("verbose", "V", false, "enable verbose output") From 204e902dbae0d94b72640956df4d175e1c819aec Mon Sep 17 00:00:00 2001 From: Tiernan L Date: Thu, 9 Jan 2020 15:27:39 -1000 Subject: [PATCH 2/4] browser is sufficient --- context/config_setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context/config_setup.go b/context/config_setup.go index 48a037a24..b68e167a9 100644 --- a/context/config_setup.go +++ b/context/config_setup.go @@ -36,7 +36,7 @@ func setupConfigFile(filename string) (*configEntry, error) { } fmt.Fprintln(os.Stderr, "Notice: authentication required") - fmt.Fprintf(os.Stderr, "Press Enter to open %s in your web browser... ", flow.Hostname) + fmt.Fprintf(os.Stderr, "Press Enter to open %s in your browser... ", flow.Hostname) waitForEnter(os.Stdin) token, err := flow.ObtainAccessToken() if err != nil { From 025845e9ff20b55f92af06549137b6fef63548d1 Mon Sep 17 00:00:00 2001 From: Tiernan L Date: Thu, 9 Jan 2020 15:29:11 -1000 Subject: [PATCH 3/4] browser is sufficient We used "browser" and "web browser" in multiple places. I made them all consistent. --- command/issue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/issue.go b/command/issue.go index df30b6e52..c90b04dc7 100644 --- a/command/issue.go +++ b/command/issue.go @@ -26,7 +26,7 @@ func init() { "Supply a title. Will prompt for one otherwise.") issueCreateCmd.Flags().StringP("body", "b", "", "Supply a body. Will prompt for one otherwise.") - issueCreateCmd.Flags().BoolP("web", "w", false, "Open the web browser to create an issue") + issueCreateCmd.Flags().BoolP("web", "w", false, "Open the browser to create an issue") issueCmd.AddCommand(issueListCmd) issueListCmd.Flags().StringP("assignee", "a", "", "Filter by assignee") From 756610301eed01cb73d86f8376df01717e5de56a Mon Sep 17 00:00:00 2001 From: Tiernan L Date: Fri, 10 Jan 2020 07:53:16 -1000 Subject: [PATCH 4/4] Swap to show --- command/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/root.go b/command/root.go index ae5cf4499..4fe631e8f 100644 --- a/command/root.go +++ b/command/root.go @@ -25,7 +25,7 @@ func init() { RootCmd.PersistentFlags().StringP("repo", "R", "", "Select another repository using the `OWNER/REPO` format") RootCmd.PersistentFlags().Bool("help", false, "Show help for command") - RootCmd.Flags().Bool("version", false, "View gh version") + RootCmd.Flags().Bool("version", false, "Show gh version") // TODO: // RootCmd.PersistentFlags().BoolP("verbose", "V", false, "enable verbose output")