summaryrefslogtreecommitdiffstats
path: root/apropos.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 /apropos.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 'apropos.1')
-rw-r--r--apropos.126
1 files changed, 14 insertions, 12 deletions
diff --git a/apropos.1 b/apropos.1
index 3cafdbe0..09d4e3fb 100644
--- a/apropos.1
+++ b/apropos.1
@@ -36,6 +36,20 @@ utility queries manual page databases generated by
evaluating on
.Ar expression
for each file in each database.
+.Pp
+By default,
+.Nm
+searches for
+.Xr mandocdb 8
+databases in the default paths stipulated by
+.Xr man 1 ,
+parses terms as case-sensitive regular expressions
+.Pq the Li \&~ operator
+over manual names and descriptions
+.Pq the Li \&Nm No and Li \&Nd No macro keys .
+Multiple terms imply pairwise
+.Fl o .
+.Pp
Its arguments are as follows:
.Bl -tag -width Ds
.It Fl C Ar file
@@ -126,18 +140,6 @@ is evaluated case-insensitively.
Has no effect on substring terms.
.El
.Pp
-By default,
-.Nm
-searches for
-.Xr mandocdb 8
-databases in the default paths stipulated by
-.Xr man 1 ,
-parses terms as case-sensitive regular expressions
-.Pq the Li \&~ operator
-over manual names and descriptions
-.Pq the Li \&Nm No and Li \&Nd No macro keys .
-Multiple terms imply pairwise
-.Fl o .
Results are sorted by manual title, with output formatted as
.Pp
.D1 title(sec) \- description