BurntSushi/ripgrep

Add linkable headings to options in man pages

Open

#3.243 geöffnet am 10. Dez. 2025

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (2.559 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (63.768 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 12h) (5 gemergte PRs in 30 T)

Beschreibung

Describe your feature request

This is a kinda random/niche request, though ideally should be rather trivial to add: it would be nice if there were linkable headings for each of the different options (in programs which support this), as there may be times when it's desireable to send a link to a specific option in a man page to someone, when using a website like the arch linux man pages which support links to headings.

An example of another man page which does this is fd. although I'm not too familiar with the man page syntax, however I believe the correct way to do this is to use .TP, although .IP might be better as it allows you to set the tag/label?

example link to a specific option in fd (albeit the names is not the best and could break if a new option starting with the same word is added, but it's better than nothing): https://man.archlinux.org/man/fd.1#no~2

Contributor Guide