Open brianredbeard opened 7 years ago
FYI the long "--foo" style flag is a GNU extension to getopt, not posix.
While I agree the help subcommand is annoying, it's also annoying how Go programs in general violate this established practice in more ways than just sticking help in a subcommand. All the long flags listed above are presented with a single hyphen despite being long flags. In an otherwise GNU system, this is totally inconsistent.
This should really be fixed more generally to bring Go flags into alignment with GNU getopt from the UX side, good luck with that.
Issue Report
The CoreOS utility locksmith does not give helpful output upon giving the option
--help
. While it does provide this information as a verb instead of a posix style flag this is confusing for (at least one) user.Bug
CoreOS Version
Expected Behavior
Actual Behavior
Reproduction Steps