Skip to content

Commit 6f550b5

Browse files
committed
Fix typos
1 parent 72eeae9 commit 6f550b5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/command-line-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The argument help is required in this command.
1010

1111
## Placeholder values
1212

13-
Use angled brackets to represent a value the user must replace. No other expressions can be contained within the angeled brackets.
13+
Use angled brackets to represent a value the user must replace. No other expressions can be contained within the angled brackets.
1414

1515
_example:_
1616
`gh pr view <issue-number>`

git/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/cli/cli/internal/run"
1515
)
1616

17-
// ErrNotOnAnyBranch indicates that the users is in detached HEAD state
17+
// ErrNotOnAnyBranch indicates that the user is in detached HEAD state
1818
var ErrNotOnAnyBranch = errors.New("git: not on any branch")
1919

2020
// Ref represents a git commit reference

pkg/browser/browser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/google/shlex"
1010
)
1111

12-
// BrowserEnv simply returns the $BROWSER envionment variable
12+
// BrowserEnv simply returns the $BROWSER environment variable
1313
func FromEnv() string {
1414
return os.Getenv("BROWSER")
1515
}

pkg/cmd/pr/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ func createRun(opts *CreateOptions) error {
399399
// There are two cases when an existing remote for the head repo will be
400400
// missing:
401401
// 1. the head repo was just created by auto-forking;
402-
// 2. an existing fork was discovered by quering the API.
402+
// 2. an existing fork was discovered by querying the API.
403403
//
404404
// In either case, we want to add the head repo as a new git remote so we
405405
// can push to it.

utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func Humanize(s string) string {
7272
return strings.Map(h, s)
7373
}
7474

75-
// We do this so we can stub out the spinner in tests -- it made things really flakey. this is not
75+
// We do this so we can stub out the spinner in tests -- it made things really flakey. This is not
7676
// an elegant solution.
7777
var StartSpinner = func(s *spinner.Spinner) {
7878
s.Start()

0 commit comments

Comments
 (0)