Skip to content

Commit c4cd0a5

Browse files
authored
Merge pull request #1923 from deining/fix-typos
Fix typos
2 parents 1210bdf + 24197c9 commit c4cd0a5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

autocomplete/zsh_autocomplete

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#compdef program
22
compdef _program program
33

4-
# Replace all occurences of "program" in this file with the actual name of your
4+
# Replace all occurrences of "program" in this file with the actual name of your
55
# CLI program. We recommend using Find+Replace feature of your editor. Let's say
66
# your CLI program is called "acme", then replace like so:
77
# * program => acme

docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Change Log
88

9-
**ATTN**: This project uses [semantic versioning](http://semver.org/).
9+
**ATTN**: This project uses [semantic versioning](https://semver.org/).
1010

1111
## Unreleased - 2.X series
1212

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ In addition to the version-specific guides, these other documents are available:
4040

4141
## Installation
4242

43-
Using this package requires a working Go environment. [See the install instructions for Go](http://golang.org/doc/install.html).
43+
Using this package requires a working Go environment. [See the install instructions for Go](https://go.dev/doc/install).
4444

4545
Go Modules are required when using this package. [See the go blog guide on using Go Modules](https://blog.golang.org/using-go-modules).
4646

docs/v1/examples/flags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func main() {
101101
}
102102
```
103103

104-
See full list of flags at http://godoc.org/github.com/urfave/cli
104+
See full list of flags at https://pkg.go.dev/github.com/urfave/cli
105105

106106
#### Placeholder Values
107107

parse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func parseIter(set *flag.FlagSet, ip iterativeParser, args []string, shellComple
8282
const providedButNotDefinedErrMsg = "flag provided but not defined: -"
8383

8484
// flagFromError tries to parse a provided flag from an error message. If the
85-
// parsing fials, it returns the input error and an empty string
85+
// parsing fails, it returns the input error and an empty string
8686
func flagFromError(err error) (string, error) {
8787
errStr := err.Error()
8888
trimmed := strings.TrimPrefix(errStr, providedButNotDefinedErrMsg)

0 commit comments

Comments
 (0)