aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitfa15c8f0c4a383b1f7be983d2655c5d14dc23d15 (patch)
treeec0c00e9addccf0aa45deb362e3fff9aa3abb304 /whatis.1
parenta62b6c9ed7de00f4e5d9a067932be826e1c6f67e (diff)
downloadmandoc-fa15c8f0c4a383b1f7be983d2655c5d14dc23d15.tar.gz
mandoc-fa15c8f0c4a383b1f7be983d2655c5d14dc23d15.tar.zst
mandoc-fa15c8f0c4a383b1f7be983d2655c5d14dc23d15.zip
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.16
1 files changed, 3 insertions, 3 deletions
diff --git a/whatis.1 b/whatis.1
index a3f60fb8..f9b2bb1d 100644
--- a/whatis.1
+++ b/whatis.1
@@ -1,4 +1,4 @@
-.\" $Id: whatis.1,v 1.1 2011/11/27 18:54:01 kristaps Exp $
+.\" $Id: whatis.1,v 1.2 2011/11/28 09:44:05 schwarze Exp $
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 27 2011 $
+.Dd $Mdocdate: November 28 2011 $
.Dt WHATIS 1
.Os
.Sh NAME
@@ -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