Environment:
The listing for apropos(1), under the Description heading, after the options are listed, contains the following line:
However, apropos does not reject them.
I would like to know if I have misinterpreted the information, or whether I am looking in the wrong place for info on these options.
- FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC
- RPi 400
The listing for apropos(1), under the Description heading, after the options are listed, contains the following line:
I found thatThe options -chlw are also supported and are documented in man(1). The
options -fkl are mutually exclusive and override each other.
-c
and -l
were not documented in man(1). On further inspection man(1) stated that those were invalid arguments.
sh:
$ man -c
Illegal option -c
Usage:
man [-adho] [-t | -w] [-M manpath] [-P pager] [-S mansect]
[-m arch[:machine]] [-p [eprtv]] [mansect] page [...]
man -f page [...] -- Emulates whatis(1)
man -k page [...] -- Emulates apropos(1)
$ man -l
Illegal option -l
Usage:
man [-adho] [-t | -w] [-M manpath] [-P pager] [-S mansect]
[-m arch[:machine]] [-p [eprtv]] [mansect] page [...]
man -f page [...] -- Emulates whatis(1)
man -k page [...] -- Emulates apropos(1)
However, apropos does not reject them.
-c
is mentioned under the option -a[\CMD], and [CMD]-l
is mentioned multiple times under the Environment section, but I did not understand what use they would be for from those sections. apropos -l
seems to run indefinitely, and apropos -c
displays the help message without considering it an illegal option.I would like to know if I have misinterpreted the information, or whether I am looking in the wrong place for info on these options.