4 ms·
Somewhat related: a coworker of mine recently wrestled with unexpected output coming from the company's internal CLI tool. What he was seeing did not match the
by Igrom 1y ago
Somewhat related: a coworker of mine recently wrestled with unexpected output coming from the company's internal CLI tool. What he was seeing did not match the flags that were specified in the command.
Lo and behold, his input method automatically collapsed two consecutive dashes into an en-dash (`–-f`), and the "option" was instead treated as a regular positional argument.