diff options
author | Colin Watson <cjwatson@debian.org> | 2019-09-08 15:53:42 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-09-08 15:53:42 +0100 |
commit | f5b4528e6181260c00ab263c87ee348ac2bc1948 (patch) | |
tree | 87a1fb26c78d7328708efa6fa89b7c8e11510f95 /man/man1 | |
parent | c4f4b6585a34ccf44cfb35a1feccb3540d7e4cd3 (diff) |
man(1): Explain interactions between -w/-W and -a
Reported by Bjarni Ingi Gislason. Fixes Debian bug #803712.
* man/man1/man.man1 (Main modes of operation): Explain that the -w and
-W options only print a single match by default, but that -a can be used
to print all matches.
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/man.man1 | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/man/man1/man.man1 b/man/man1/man.man1 index 0548c534..7aa4e28c 100644 --- a/man/man1/man.man1 +++ b/man/man1/man.man1 @@ -483,13 +483,34 @@ option was supplied, using the name as a filename and looking for an exact match. .TP .if !'po4a'hide' .BR \-w ", " \-\-where ", " \-\-path ", " \-\-location -Don't actually display the manual pages, but do print the location(s) of -the source nroff files that would be formatted. +Don't actually display the manual page, but do print the location of the +source nroff file that would be formatted. +If the +.B \-a +option is also used, then print the locations of all source files that match +the search criteria. .TP .if !'po4a'hide' .BR \-W ", " \-\-where\-cat ", " \-\-location\-cat -Don't actually display the manual pages, but do print the location(s) of -the cat files that would be displayed. -If \-w and \-W are both specified, print both separated by a space. +Don't actually display the manual page, but do print the location of the +preformatted cat file that would be displayed. +If the +.B \-a +option is also used, then print the locations of all preformatted cat files +that match the search criteria. +.IP +If +.B \-w +and +.B \-W +are both used, then print both source file and cat file separated by a +space. +If +all of +.BR \-w , +.BR \-W , +and +.B \-a +are used, then do this for each possible match. .TP .if !'po4a'hide' .BR \-c ", " \-\-catman This option is not for general use and should only be used by the |