Merge pull request #210 from github/noprinting

minor text edits
This commit is contained in:
Nate Smith 2020-01-13 12:19:01 -06:00 committed by GitHub
commit c5486ee3f2
3 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,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")

View file

@ -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, "Show gh version")
// TODO:
// RootCmd.PersistentFlags().BoolP("verbose", "V", false, "enable verbose output")

View file

@ -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 {