spf13 / pflag

Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
BSD 3-Clause "New" or "Revised" License
2.43k stars 348 forks source link

flag: Emulate stdlib behavior and do not print ErrHelp #407

Open tmc opened 5 months ago

tmc commented 5 months ago

I know this repo is not seeing much activity but I figured I'd include this fix.

Fixes #306

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.