summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-01-23 12:32:41 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-01-23 12:32:41 +0000
commite1f052d2d6f8e7a8134298cf35734fd1a538444a (patch)
treeb548446350ece74fa8d54789f368d2cdca3755f0 /usr.sbin/pkg_add
parent6a9ad8de7d7f513558a51aab748845215e5a79d8 (diff)
clean-up synopsis
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCreate.pm6
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgSign.pm7
2 files changed, 6 insertions, 7 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
index 575a91335bc..5b7b1afe002 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgCreate.pm,v 1.98 2014/01/23 11:52:34 espie Exp $
+# $OpenBSD: PkgCreate.pm,v 1.99 2014/01/23 12:32:40 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -103,9 +103,9 @@ sub handle_options
$state->SUPER::handle_options('p:f:d:M:U:A:B:P:W:qQ',
'[-nQqvx] [-A arches] [-B pkg-destdir] [-D name[=value]]',
'[-L localbase] [-M displayfile] [-P pkg-dependency]',
- '[-U undisplayfile] [-W wantedlib]',
+ '[-s signing-parameter] [-U undisplayfile] [-W wantedlib]',
'[-d desc -D COMMENT=value -f packinglist -p prefix]',
- 'pkg-name...');
+ 'pkg-name');
my $base = '/';
if (defined $state->opt('B')) {
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgSign.pm b/usr.sbin/pkg_add/OpenBSD/PkgSign.pm
index 9d6bafeb548..6490b063680 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgSign.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgSign.pm
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgSign.pm,v 1.2 2014/01/23 12:28:48 espie Exp $
+# $OpenBSD: PkgSign.pm,v 1.3 2014/01/23 12:32:40 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -40,9 +40,8 @@ sub handle_options
},
};
$state->SUPER::handle_options('j:o:S:',
- '[-v] [-D name[=value]]',
- '[-s [x509 -s cert|signify] -s priv] [-o dir]',
- '[-S source|pkg-name...]');
+ '[-v] [-D name[=value]] -s x509|signify [-s cert] -s priv',
+ '[-o dir] [-S source] [pkg-name...]');
if (!defined $state->{signer}) {
$state->usage("Can't invoke command without valid signing parameters");
}