tldr-pages/tldr

Add mnemonics to commands that only have short options available

Open

#16,218 建立於 2025年4月21日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Shell (2,507 fork)batch import
help wanted

倉庫指標

Star
 (30,937 star)
PR 合併指標
 (平均合併 7天 5小時) (30 天內合併 321 個 PR)

描述

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.

貢獻者指南