summaryrefslogtreecommitdiffstats
path: root/whatis.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-11-28 09:44:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-11-28 09:44:05 +0000
commit0dc7ca4abf72bcae5cbcea1c36e8fe686fbf5b16 (patch)
tree46d100e8643ea51017727f8cbcb27e6bf83a2cf4 /whatis.1
parent591006fe672adf9c166b9440176e03ed1554191e (diff)
downloadmandoc-0dc7ca4abf72bcae5cbcea1c36e8fe686fbf5b16.tar.gz
Tweak whatis(1):
* Bugfix: Use all arguments, not just the last one. * Use 'Nm~' instead of 'Nm,Nd~' to match OpenBSD behaviour. * For the progname, accept '^whatis', not '^whatis$' to ease testing. ok kristaps@
Diffstat (limited to 'whatis.1')
-rw-r--r--whatis.12
1 files changed, 1 insertions, 1 deletions
diff --git a/whatis.1 b/whatis.1
index 9415e265..8b320033 100644
--- a/whatis.1
+++ b/whatis.1
@@ -92,7 +92,7 @@ is identical to running
.Xr apropos 1
as follows:
.Pp
-.Dl $ apropos -- -i '~[[:<:]]term[[:>:]]'
+.Dl $ apropos -- -i 'Nm~[[:<:]]term[[:>:]]'
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev MANPATH