News for hackers. Stuff that matters.
Re:Maybe We Should Stop Creating Inscrutable CLIs by vimax on Saturday August 17, 2019 @02:33PM (#20725487)
Every time I wind up doing

  > java -v

  > java --version

  > java -version
Re:Maybe We Should Stop Creating Inscrutable CLIs by Jenz on Saturday August 17, 2019 @03:12PM (#20725734)
I laughed a lot at this one
Re:Maybe We Should Stop Creating Inscrutable CLIs by h1d on Monday August 19, 2019 @12:15AM (#20734841)
And then some tools use a sub command instead of just being the obvious '-v' but 'version'.
Re:Maybe We Should Stop Creating Inscrutable CLIs by lerey on Saturday August 17, 2019 @03:11PM (#20725732)
Don't forget -V (since some applications use -v for verbose)
Re:Maybe We Should Stop Creating Inscrutable CLIs by vimax on Saturday August 17, 2019 @03:42PM (#20725882)
This is java, it would be

-D-XX:VerboseRuntime=true

Re:Maybe We Should Stop Creating Inscrutable CLIs by needusername on Saturday August 17, 2019 @06:46PM (#20726921)
-XX is for implementation specific VM flags an generally uses + or -

-D is for system property and uses key value

so it would either be

-XX:+VerboseRuntime

or

-Djdk.runtime.verbose=true