summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-09-07 09:40:51 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-09-07 09:40:51 +0000
commit95177f4fe19f198f6f0311ddfe31f80c487c9467 (patch)
tree7c9a5e615b7e6bba220c388b87e3ffca5fa0d98f
parente4f010eca3d25a26ddf30e70d2fb3a46c8c94f6c (diff)
sort options and sync usage();
-rw-r--r--usr.sbin/pkg_add/pkg_info4
-rw-r--r--usr.sbin/pkg_add/pkg_info.18
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pkg_add/pkg_info b/usr.sbin/pkg_add/pkg_info
index e91327ed8ec..22fe016d65c 100644
--- a/usr.sbin/pkg_add/pkg_info
+++ b/usr.sbin/pkg_add/pkg_info
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_info,v 1.31 2005/09/04 22:47:56 espie Exp $
+# $OpenBSD: pkg_info,v 1.32 2005/09/07 09:40:50 jmc Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -290,7 +290,7 @@ sub print_info
}
}
-set_usage('pkg_info [-cDdfIiKkLMpqRrsSUv] [-E fname] [-e pkgname] [-l str] pkgname...', 'pkg_info [-Aa flags]');
+set_usage('pkg_info [-cDdfIiKkLMpqRrSsUv] [-E filename] [-e pkg-name] [-l str] pkg-name [...]', 'pkg_info [-Aa flags]');
my $locked;
try {
diff --git a/usr.sbin/pkg_add/pkg_info.1 b/usr.sbin/pkg_add/pkg_info.1
index d54393fef6c..6929893ac9b 100644
--- a/usr.sbin/pkg_add/pkg_info.1
+++ b/usr.sbin/pkg_add/pkg_info.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_info.1,v 1.17 2005/09/04 22:47:56 espie Exp $
+.\" $OpenBSD: pkg_info.1,v 1.18 2005/09/07 09:40:50 jmc Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -26,7 +26,7 @@
.Sh SYNOPSIS
.Nm pkg_info
.Bk -words
-.Op Fl cDdfIiKkLMpqRrsSUv
+.Op Fl cDdfIiKkLMpqRrSsUv
.Op Fl E Ar filename
.Op Fl e Ar pkg-name
.Op Fl l Ar str
@@ -150,12 +150,12 @@ raw info (basically, assume a non-human reading).
Show which packages require a given package.
.It Fl r
Show the requirements script (if any) for each package.
-.It Fl s
-Show an estimate of the total size of each package.
.It Fl S
Show the package signature for each package.
This signature is a unique tag showing the package name, and the version number
of every dependency and shared library necessary to build this package.
+.It Fl s
+Show an estimate of the total size of each package.
.It Fl U
Show the deinstall-message file (if any) for each package.
.It Fl v