Comment by o11c
6 days ago
Use:
command -v -- -x
The POSIX documentation for almost all commands (including `command`) says "The command utility shall conform to [...] Utility Syntax Guidelines" which specifies the behavior of `--`, even if it's not explicitly mentioned.
No comments yet
Contribute on Hacker News ↗