Skip to content

Commit

Permalink
updated links
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Mar 11, 2024
1 parent f30839f commit 333793f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[![PkgGoDev](https://pkg.go.dev/badge/github.com/carapace-sh/carapace-pflag)](https://pkg.go.dev/github.com/carapace-sh/carapace-pflag)
[![GoReportCard](https://goreportcard.com/badge/github.com/carapace-sh/carapace-pflag)](https://goreportcard.com/report/github.com/carapace-sh/carapace-pflag)
[![Coverage Status](https://coveralls.io/repos/github/rsteube/carapace-pflag/badge.svg?branch=master)](https://coveralls.io/github/rsteube/carapace-pflag?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/carapace-sh/carapace-pflag/badge.svg?branch=master)](https://coveralls.io/github/carapace-sh/carapace-pflag?branch=master)

Fork of [spf13/pflag](https://github.com/spf13/pflag) aimed to provide support for non-posix variants in [carapace](https://github.com/rsteube/carapace) standalone mode (e.g. [carapace-bin](https://github.com/rsteube/carapace-bin)).
Fork of [spf13/pflag](https://github.com/spf13/pflag) aimed to provide support for non-posix variants in [carapace](https://github.com/carapace-sh/carapace) standalone mode (e.g. [carapace-bin](https://github.com/carapace-sh/carapace-bin)).

## Customizations

Expand Down
2 changes: 1 addition & 1 deletion flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ func (f *FlagSet) parseSingleShortArg(shorthands string, args []string, fn parse
if f.IsPosix() {
err = f.failf("unknown shorthand flag: %q in -%s", name, shorthands) // standard spf13/pflag message for shorthand chain
} else {
err = f.failf("unknown shorthand flag: -%s", name) // custom rsteube/carapace-pflag message for non-posix shorthand (chain disabled)
err = f.failf("unknown shorthand flag: -%s", name) // custom carapace-sh/carapace-pflag message for non-posix shorthand (chain disabled)
}
return
}
Expand Down

0 comments on commit 333793f

Please sign in to comment.