Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
There is a good explanation of how the single and double dash parameter style evolved. You can look it up here :) http://faqs.org/docs/artu/...
-
@TheCPPanda Thanks for that mate 😄 Hopeful Wayland will terminate X and we'll have only 2 variants + java 😄
However it doesn't seem as java is on the same evolution trajectory as *nix and GNU.... "java - v" doesn't exist and could have been added by now.
@canonbolt Sure, more like pissing off more than 1 million developers :) -
@canonbolt and for how many years now? 🤔
Genuine question, they themselves should probably be thinking about using a new catchphrase. -
What if it would be
$ java --version
Unknown Parameter
$ java -version
Unknown Parameter
$ java /version
OpenJDK 21... -
Condor324966yMeaning that Java isn't very Unix-compatible :)
Single letter command-line switches are supposed to be like -V (-v is usually to increase command output verbosity) and optionally have a more verbose switch such as --version.
That said, Java certainly isn't the only one.. don't even get me started on OpenVPN in Windows which uses Unix-style switches but PowerShit (i.e. diarrhea) interprets those switches as something different entirely.. because fucking MICROSHIT!!
Sorry, I went a bit ahead of myself there :P but nonstandard shit can really infuriate me to no end.
Related Rants
java - - version
Unrecognized operation: - - version
FUCK!!!
java - version
java version "1.x...."
EVERY FUCKING TIME!!!
Why Java, WHY?!?!? 😭
Every other tool uses - - version ❤️
rant
why?
java