4 ms·
As does Python, which drives me crazy. -V is version on Python.
by dpcx 6y ago
As does Python, which drives me crazy. -V is version on Python.
- MaxBarraclough 6y agoVery annoying. Java HotSpot uses -version, rather than --version, which is even worse. Don't mess with the standard long-form flag!
- hackerm0nkey 6y agoI get it wrong every damn time. 16 years and counting.
- iforgotpassword 6y agoSame! Somehow I also start confusing this with somewhat related tools like gcc. It's rare enough that I need to query these that it's all blurry in my memory again by next time. "huh I guess gcc was that goofy one with just one dash.." Nope.
- LukeShu 6y agoTo be fair, the JVM predates GNU-style --long flags being "standard". Lots of older programs use "X11-style" -long flags (that many pre-X11 programs used, like `find`).
- deleted 6y ago[deleted]
- tannhaeuser 6y agoLong flags are a GNUism, not a "standard" by any means. The closest that comes to a standard in this space are POSIX utility conventions [1]. [1]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1...
- jjgreen 6y ago... and it wrote the version to stderr up to 3.3, the stdout from 3.4; very convenient if you need to switch on version (which you do).
- nostoc 6y agoThere's so much variation in flags for version, I've taken the habit of always using the long `--version` flag.