summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-05 13:44:32 +0000
committersobomax <sobomax@FreeBSD.org>2002-05-05 13:44:32 +0000
commit2df68022c5bb591d06f7b8d3cdcf63f0917c7cbf (patch)
tree1a10b3dbc784a936501b1cfb763b050b0628881d /usr.sbin
parentf4f4b6970d3d5900b8b201b91e5596ff122bb186 (diff)
downloadFreeBSD-src-2df68022c5bb591d06f7b8d3cdcf63f0917c7cbf.zip
FreeBSD-src-2df68022c5bb591d06f7b8d3cdcf63f0917c7cbf.tar.gz
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
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/info/main.c6
-rw-r--r--usr.sbin/pkg_install/info/pkg_info.18
2 files changed, 10 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/info/main.c b/usr.sbin/pkg_install/info/main.c
index 29c0554..c1c8816 100644
--- a/usr.sbin/pkg_install/info/main.c
+++ b/usr.sbin/pkg_install/info/main.c
@@ -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);
}
diff --git a/usr.sbin/pkg_install/info/pkg_info.1 b/usr.sbin/pkg_install/info/pkg_info.1
index c973209..c4a97ba 100644
--- a/usr.sbin/pkg_install/info/pkg_info.1
+++ b/usr.sbin/pkg_install/info/pkg_info.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
OpenPOWER on IntegriCloud