[Bug 275159] man page for apropos(1) references nonexistent options -l and -c from page for man(1)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Dec 2023 13:05:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275159

--- Comment #2 from Raghu Ranganathan <razetime@gapp.nthu.edu.tw> ---
diff --git a/contrib/mandoc/apropos.1 b/contrib/mandoc/apropos.1
index 9129ae31f1..5e1f3aa1e9 100644
--- a/contrib/mandoc/apropos.1
+++ b/contrib/mandoc/apropos.1
@@ -88,6 +88,9 @@ Specify an alternative configuration
 in
 .Xr man.conf 5
 format.
+.It Fl c
+Disable the usage of a pager, like
+.Xr less 1
 .It Fl f
 Search for all words in
 .Ar expression
@@ -101,6 +104,11 @@ Support the full
 syntax.
 It is the default for
 .Nm .
+.It Fl l
+Treat
+.Ar expression
+as a list of files to use as input. Display the full content of
+each page found.
 .It Fl M Ar path
 Use the colon-separated path instead of the default list of paths
 searched for
@@ -133,7 +141,7 @@ for a listing of sections.
 .El
 .Pp
 The options
-.Fl chlw
+.Fl hw
 are also supported and are documented in
 .Xr man 1 .
 The options

-- 
You are receiving this mail because:
You are the assignee for the bug.