|
|
|
|
|
by delusional
453 days ago
|
|
I think the right way to think about this (if your goal is to avoid surprises at least) is that options (short or long) are just strings. There's no guarantee that there's a long variant of an option. There's not even a requirement that options start with a dash. A sufficiently brain-damaged developer could start them with a slash or something. If you're going for portability the best bet is to just read the manual for each of the separate versions and do whatever works. |
|
I would never write a new program with this option, but I do find it a delightful historical oddity.