| I'm glad that this package exists. I know of UNIX parameters, with a single hyphen & a single letter, and GNU parameters, with a double parameter and a word. But a single hyphen and then a word: *mind broken*. When I first saw that on Terraform, I was upset & conflicted. OK, I know that Java also has mental parameter options like that ('-version', note the *single* hyphen followed by, gasp, a word!), but I just dismissed it as weird enterprise-ism. Then I saw that this 'single hyphen + word' was an accepted convention for parameters, in the Go world & I was disappointed. Glad that this package is fighting the good fight. |
I think "mental" is being too kind about java.
and both work, their outputs are different, and `-version` goes to STDERR whereas `--version` goes to STDOUT.