News for hackers. Stuff that matters.
Re:Why do long options start with two dashes? (2019) by brianpan on Thursday April 08, 2021 @11:55PM (#26746517)
java -version AND java --version

Maybe because java was intended to run on multiple operating systems, although both look out of place on MS-DOS!

Re:Why do long options start with two dashes? (2019) by theandrewbailey on Friday April 09, 2021 @01:39PM (#26753544)
java --version only works on Java 11 and newer.