4 ms·
But help prints single dash for long flags which contributes to the fall of double dash long flags.
by tqkxzugoaupvwqr 6y ago
But help prints single dash for long flags which contributes to the fall of double dash long flags.
- vitus 6y agoOh, I agree. I ran into a related issue a couple of years back where people were using single-dash flags for a C++ project that was using Abseil flags in conjunction with getopt parsing of short flags (for legacy reasons). Why were they using single-dash flags, despite that not showing up anywhere in our documentation? They copy-pasted from --help. (I'm happy to say that --help in Abseil has since been fixed.)