man
Denys Vlasenko
vda.linux at googlemail.com
Sun Sep 14 21:31:33 UTC 2008
On Sunday 14 September 2008 20:29, Vladimir Dronnikov wrote:
> Noticed some quirks in BB man:
>
> * why do we require arguments ("-1") when -a or -w is given? To show
> paths should require no arguments! Right?
-a requres argument, this is correct.
As for -w, I would categorize it as "we only support "-w manpage" yet":
# /usr/bin/man --help
man, version 1.6c
usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list]
[-m system] [-p string] name ...
a : find all matching entries
...
w : print location of man page(s) that would be displayed
(if no name given: print directories that would be searched)
...
There are lots of options we do not support, "-w without manpage"
case is only one of many.
> * why a sane default of /usr/share/man is not used in the absence of
> both /etc/man.conf and $MANPATH? IMO man could be zero-configured.
>
> * why unconditionally notify of missing /etc/man.conf?
Fixed.
--
vda
More information about the busybox
mailing list