summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-06-29 22:56:42 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-06-29 22:56:42 +0000
commit14d6b63fa984be429bf28514801088690b8e4ba3 (patch)
treeb8529ac7aaa408863a5fd0314f2df6bbdfce736d /usr.sbin
parentf8a129b15f2a594b09d22122d1524f8585d954a9 (diff)
Usage().
noticed by deraadt@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_merge4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_merge b/usr.sbin/pkg_add/pkg_merge
index 5acfc60c0ac..bd3cab8723b 100644
--- a/usr.sbin/pkg_add/pkg_merge
+++ b/usr.sbin/pkg_add/pkg_merge
@@ -133,11 +133,11 @@ try {
};
if (!defined $opt_o) {
- die "Error: must have a result name";
+ Usage "Missing -o result";
}
if (@ARGV<2) {
- die "Error need at least two packages to merge";
+ Usage "Can't merge less than two packages";
}
my @tomerge;