Add mnemonics to commands that only have short options available
#16.218 aperta il 21 apr 2025
Metriche repository
- Star
- (63.468 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
There are quite a lot of commands that do not provide long options and are thus a black box to new users. Mnemonics should help with that. A trick to finding pages that contain a short option is grep -r " -[a-zA-Z][^a-zA-Z]"
This does not however find pages that have two short options groupled together like -ab
Mnemonics style guide: https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md#short-option-mnemonics
Also: If you manage to find a case where the short option isn't derived from the long option, for example {{[-n|--dry-run]}}, add a mnemonic for that.