4 ms·
Use: command -v -- -x The POSIX documentation for almost all commands (including `command`) says "The command utility shall conform to [...] Utility Syntax
by o11c 1y 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.