summaryrefslogtreecommitdiffstats
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
commit53e6d06c1bdbc06c38e2aedcad452d656cd4734c (patch)
tree980fbe0234918d99c10a7ce6e17b0d6a931b3f03 /whatis.1
parent6a77081b4e30b2766639dbf6e063db437049632b (diff)
downloadmandoc-53e6d06c1bdbc06c38e2aedcad452d656cd4734c.tar.gz
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.113
1 files changed, 7 insertions, 6 deletions
diff --git a/whatis.1 b/whatis.1
index 9c35b6cb..da0c5792 100644
--- a/whatis.1
+++ b/whatis.1
@@ -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