summaryrefslogtreecommitdiff
path: root/usr.sbin/config/config.8
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-07-19 20:25:22 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-07-19 20:25:22 +0000
commit671eca3e7667cd92e025755a73cfa7aed29088f0 (patch)
tree68b8132be954b14fc39d85c5fad0baebba0777c3 /usr.sbin/config/config.8
parentc2053bef4a057ddbd531458a39b7c194bf424202 (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