mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
build(deps): bump github.com/urfave/cli/v3 from 3.9.0 to 3.9.1
Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.9.0 to 3.9.1. - [Release notes](https://github.com/urfave/cli/releases) - [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/urfave/cli/compare/v3.9.0...v3.9.1) --- updated-dependencies: - dependency-name: github.com/urfave/cli/v3 dependency-version: 3.9.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
+2
-2
@@ -193,7 +193,7 @@ func (f *FlagBase[T, C, V]) Set(_ string, val string) error {
|
||||
}
|
||||
|
||||
if f.count == 1 && f.OnlyOnce {
|
||||
return fmt.Errorf("cant duplicate this flag")
|
||||
return fmt.Errorf("can't duplicate this flag")
|
||||
}
|
||||
|
||||
f.count++
|
||||
@@ -301,7 +301,7 @@ func (f *FlagBase[T, C, VC]) IsLocal() bool {
|
||||
return f.Local
|
||||
}
|
||||
|
||||
// IsBoolFlag returns whether the flag doesnt need to accept args
|
||||
// IsBoolFlag returns whether the flag doesn't need to accept args
|
||||
func (f *FlagBase[T, C, VC]) IsBoolFlag() bool {
|
||||
bf, ok := f.value.(boolFlag)
|
||||
return ok && bf.IsBoolFlag()
|
||||
|
||||
Reference in New Issue
Block a user