summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-05-03 16:14:31 +0000
committerschwarze <schwarze@openbsd.org>2019-05-03 16:14:31 +0000
commit88412cd248dedd2264170a5eca7de2241b4d7a9c (patch)
treee844b91f36837a7bcdc4d5f068295107b630f1ec /usr.bin/tmux/cmd.c
parentCorrect ordering when adding after an existing item. (diff)
downloadwireguard-openbsd-88412cd248dedd2264170a5eca7de2241b4d7a9c.tar.xz
wireguard-openbsd-88412cd248dedd2264170a5eca7de2241b4d7a9c.zip
In man(1) mode with a specific section requested,
try harder to find the best match. Use this order of preference: 1. The section in both the directory name and the file name matches exactly. 2. The section in the file name matches exactly. 3. The section in the directory name matches exactly. 4. Neither of them matches exactly. The latter can happen when mansearch() finds substring matches or when the second .Dt argument mismatches the dir and file names. Lorenzo Beretta <loreb at github> reported that this caused real problems on Void Linux, like "man 3 readline" showing readline(3m). See https://github.com/void-linux/void-packages/issues/9868 for details.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
0 files changed, 0 insertions, 0 deletions