News for hackers. Stuff that matters.
Re:Endless Operating System by nxc18 on Thursday March 25, 2021 @02:49PM (#26583893)
Python help: Can’t open file ‘help’: [Errno 2] No such file or directory

Python -help: Unknown option: -e

Python —-help: actual help

Stupid users, it’s so intuitive!

(PS it always bugs me that every program uses a different option for checking the version. Node is -v, python is -V, dotnet is —-version. Again, couldn’t be more intuitive, duck users, right?)

Re:Endless Operating System by jolux on Thursday March 25, 2021 @02:53PM (#26583935)
I actually didn't know about python -V! python also accepts --version, but if you give it -v, that's verbose, which will only confuse people more. I believe java used to only accept -version with one hyphen, but now it accepts --version with two as well.