diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-11-28 09:44:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-11-28 09:44:05 +0000 |
commit | fa15c8f0c4a383b1f7be983d2655c5d14dc23d15 (patch) | |
tree | ec0c00e9addccf0aa45deb362e3fff9aa3abb304 /whatis.1 | |
parent | a62b6c9ed7de00f4e5d9a067932be826e1c6f67e (diff) | |
download | mandoc-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.1 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |