Skip to content

Commit

Permalink
Merge pull request #235 from nmiyake/fixTypo
Browse files Browse the repository at this point in the history
Fix typo in github-api flag usage string
  • Loading branch information
yundt authored Dec 20, 2018
2 parents 356f5bd + 0c8fac2 commit 7c4e087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func MakeCommands() *cobra.Command {
rootCmd.PersistentFlags().StringVar(&rootOptions.Endpoint,
"endpoint", rootOptions.Endpoint, "URI to your CircleCI GraphQL API endpoint")

rootCmd.PersistentFlags().StringVar(&rootOptions.GitHubAPI, "github-api", "https://api.github.com/", "Change the default endpoint to GitHub API for retreiving updates")
rootCmd.PersistentFlags().StringVar(&rootOptions.GitHubAPI, "github-api", "https://api.github.com/", "Change the default endpoint to GitHub API for retrieving updates")
if err := rootCmd.PersistentFlags().MarkHidden("github-api"); err != nil {
panic(err)
}
Expand Down

0 comments on commit 7c4e087

Please sign in to comment.