aboutsummaryrefslogtreecommitdiff
path: root/func.go
AgeCommit message (Collapse)Author
2025-06-27fix discrepancy in order of arguments for Func() and BoolFunc() #433Georges Varouchas
for no good reason: the order of arguments would differ when calling pflag.BoolFuncP(...) and (*FlagSet).BoolFuncP(...) (same goes for Func() and FuncP()) in this commit: align all functions on stdlib's order fixes #433
2025-05-22add support for Func() and BoolFunc() #426Georges Varouchas
Add support for two features which landed in the 'flag' package from the standard library: Func() and BoolFunc() and their two pflag specific versions: FuncP() and BoolFuncP() fixes #426