diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-07-19 20:25:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-07-19 20:25:22 +0000 |
commit | 671eca3e7667cd92e025755a73cfa7aed29088f0 (patch) | |
tree | 68b8132be954b14fc39d85c5fad0baebba0777c3 /usr.sbin/config/config.8 | |
parent | c2053bef4a057ddbd531458a39b7c194bf424202 (diff) |
If no tags were generated at all, unlink(2) the empty tags file as
soon the condition can be detected and do not pass it to less(1).
This may happen for man(7) pages, for preformatted pages, and for
very simple pages like true(1). The main benefit is that :t inside
less(1) yields the clearer diagnostic message "No tags file" rather
than the mildly confusing "No such tag in tags file": the latter
might encourage further, futile attempts to jump to other tags.
Improvement suggested by Leah Neukirchen <leah at vuxu dot org>
from The Void.
Diffstat (limited to 'usr.sbin/config/config.8')
0 files changed, 0 insertions, 0 deletions