Update usage() and manpage to match reality (add -O into usage and adjust
both to make clear that -W and -O are stand-alone options). MFC after: 6 days
This commit is contained in:
parent
f4f4b6970d
commit
2df68022c5
@ -227,9 +227,11 @@ main(int argc, char **argv)
|
||||
static void
|
||||
usage()
|
||||
{
|
||||
fprintf(stderr, "%s\n%s\n%s\n",
|
||||
fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n",
|
||||
"usage: pkg_info [-cdDfGiIkLmopqrRsvVx] [-e package] [-l prefix]",
|
||||
" [-t template] [-W filename] [pkg-name ...]",
|
||||
" [-t template] [pkg-name ...]",
|
||||
" pkg_info [-q] -W filename",
|
||||
" pkg_info [-q] -O origin",
|
||||
" pkg_info -a [flags]");
|
||||
exit(1);
|
||||
}
|
||||
|
@ -29,10 +29,14 @@
|
||||
.Op Fl e Ar package
|
||||
.Op Fl l Ar prefix
|
||||
.Op Fl t Ar template
|
||||
.Op Fl W Ar filename
|
||||
.Op Fl O Ar origin
|
||||
.Op Ar pkg-name ...
|
||||
.Nm
|
||||
.Op Fl q
|
||||
.Fl W Ar filename
|
||||
.Nm
|
||||
.Op Fl q
|
||||
.Fl O Ar origin
|
||||
.Nm
|
||||
.Fl a
|
||||
.Op Ar flags
|
||||
.Sh DESCRIPTION
|
||||
|
Loading…
Reference in New Issue
Block a user