Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated links #23

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading