Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Input parameter with - - is not really intuitive. It works, but the just way to handle input parameters is way more easier to remember


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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: