aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/whatis.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-25 19:35:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-25 19:35:44 +0000
commitfe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b (patch)
tree83c49312a96c65a95ef35f03cf8ed9c774d8131a /whatis.1
parentca227bf5f3d09e4e0e8db2c2931780855601912a (diff)
downloadmandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.tar.gz
mandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.tar.zst
mandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.zip
State default usage before listing arguments of a utility. Inspired by a
patch to mandocdb.8 by schwarze@ some time ago. Ok jmc@.
Diffstat (limited to 'whatis.1')
-rw-r--r--whatis.115
1 files changed, 8 insertions, 7 deletions
diff --git a/whatis.1 b/whatis.1
index 931b9588..ed1196ef 100644
--- a/whatis.1
+++ b/whatis.1
@@ -1,4 +1,4 @@
-.\" $Id: whatis.1,v 1.6 2011/12/25 16:53:51 schwarze Exp $
+.\" $Id: whatis.1,v 1.7 2011/12/25 19:35:44 kristaps Exp $
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -41,6 +41,13 @@ You can then use the
.Xr man 1
command to get more information.
.Pp
+By default,
+.Nm
+searches for
+.Xr mandocdb 8
+databases in the default paths stipulated by
+.Xr man 1 .
+.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl C Ar file
@@ -72,12 +79,6 @@ See
for a listing of manual sections.
.El
.Pp
-By default,
-.Nm
-searches for
-.Xr mandocdb 8
-databases in the default paths stipulated by
-.Xr man 1 .
Results are sorted by manual title, with output formatted as
.Pp
.D1 title(sec) \- description