tldr-pages/tldr

Add mnemonics to commands that only have short options available

Open

#16,218 opened on Apr 21, 2025

 (0 comments) (0 reactions) (0 assignees)Markdown (5,381 forks)batch import
help wanted

Repository metrics

Stars
 (63,468 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide