summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-22 00:25:43 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-22 00:25:43 +0000
commit1cd24b787df2e3e703c31fde49657ba28fb77bab (patch)
tree64db6fa1ab0cf02213cfd86c9864158a573ed582 /usr.sbin
parent446380735dcf150b3c72600161ae8f689d2689e9 (diff)
finish removing unused -h option
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_create6
-rw-r--r--usr.sbin/pkg_add/pkg_create.19
2 files changed, 5 insertions, 10 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index fa438583763..7cc6bb11e83 100644
--- a/usr.sbin/pkg_add/pkg_create
+++ b/usr.sbin/pkg_add/pkg_create
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_create,v 1.98 2007/05/15 10:36:34 espie Exp $
+# $OpenBSD: pkg_create,v 1.99 2007/05/22 00:25:42 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -349,7 +349,7 @@ sub copy_subst
}
our ($opt_p, $opt_f, $opt_c, $opt_d, $opt_v, $opt_i, $opt_k, $opt_r,
- $opt_S, $opt_h, $opt_s, $opt_O, $opt_A, $opt_L,
+ $opt_S, $opt_s, $opt_O, $opt_A, $opt_L,
$opt_m, $opt_M, $opt_U, $opt_P, $opt_W, $opt_n,
$opt_B, $opt_q, $opt_Q);
@@ -498,7 +498,7 @@ set_usage(
my $plist = new OpenBSD::PackingList;
OpenBSD::PackingElement::File->add($plist, CONTENTS);
try {
- getopts('hp:f:c:d:vi:k:r:m:M:U:S:hs:OA:L:B:D:P:W:nqQ',
+ getopts('p:f:c:d:vi:k:r:m:M:U:S:hs:OA:L:B:D:P:W:nqQ',
{'D' =>
sub {
local $_ = shift;
diff --git a/usr.sbin/pkg_add/pkg_create.1 b/usr.sbin/pkg_add/pkg_create.1
index e7b26d47bea..3788f9445c2 100644
--- a/usr.sbin/pkg_add/pkg_create.1
+++ b/usr.sbin/pkg_add/pkg_create.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_create.1,v 1.35 2007/04/30 08:43:19 espie Exp $
+.\" $OpenBSD: pkg_create.1,v 1.36 2007/05/22 00:25:42 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -30,7 +30,7 @@
.Sh SYNOPSIS
.Nm pkg_create
.Bk -words
-.Op Fl hnQqv
+.Op Fl nQqv
.Op Fl A Ar arches
.Op Fl B Ar pkg-destdir
.Oo Fl D Ar name
@@ -120,11 +120,6 @@ for package from the file
.Ar packinglist .
Several packing-lists can be mentioned, in which case they will be
concatenated together.
-.It Fl h
-Force
-.Xr tar 1
-to follow symbolic links, so that the files they point to
-are dumped, rather than the links themselves (deprecated).
.It Fl i Ar iscript
Set
.Ar iscript