Hacker News new | ask | show | jobs
by lormayna 559 days ago
Input parameter with - - is not really intuitive. It works, but the just way to handle input parameters is way more easier to remember
1 comments

Personally I disagree, I think `--` is very intuitive.

Maybe it isn't super common knowledge, but `--` is in line with the POSIX argument parsing convention[0] and is used by many (most?) GNU/BSD tools and many other tools such as `kubectl`. This StackOverflow thread[1] also has some information about it.

[0] https://www.gnu.org/software/libc/manual/html_node/Argument-...

[1] https://unix.stackexchange.com/questions/11376/what-does-dou...