4 ms·
Windows uses /? as the standard help flag, so maybe there are tools that are ported from that convention? -h/--help are all I ever see in macOS CLI tools, in a
by nneonneo 3y ago
Windows uses /? as the standard help flag, so maybe there are tools that are ported from that convention?
-h/--help are all I ever see in macOS CLI tools, in any case.
- JohnFen 3y agoI believe /? started well before Windows, with DOS. IIRC, it was used because -? was common with Unix and CP/M (and DOS is basically half Unix and half CP/M) -- but Microsoft made the decision to have '/' be the switch character rather than '-'. So, /? was inherited from what came before, just slightly modified.