Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Jun 11, 2024
1 parent 1210bdf commit 24197c9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion autocomplete/zsh_autocomplete
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#compdef program
compdef _program program

# Replace all occurences of "program" in this file with the actual name of your
# Replace all occurrences of "program" in this file with the actual name of your
# CLI program. We recommend using Find+Replace feature of your editor. Let's say
# your CLI program is called "acme", then replace like so:
# * program => acme
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Change Log

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

## Unreleased - 2.X series

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ In addition to the version-specific guides, these other documents are available:

## Installation

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

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

Expand Down
2 changes: 1 addition & 1 deletion docs/v1/examples/flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func main() {
}
```

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

#### Placeholder Values

Expand Down
2 changes: 1 addition & 1 deletion parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func parseIter(set *flag.FlagSet, ip iterativeParser, args []string, shellComple
const providedButNotDefinedErrMsg = "flag provided but not defined: -"

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

0 comments on commit 24197c9

Please sign in to comment.