summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-06-14 10:16:38 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-06-14 10:16:38 +0000
commit82b5c3e51fffd2cde145ec6a9a9c23b297698539 (patch)
tree7c25b4474fa257e1f5d149291ed8ea2147aaa2df
parent48939e5d0b01761f2fb9609643a9584084ac358e (diff)
explicitly mark -S as deprecated, I'd love to use for something else...
-rw-r--r--usr.sbin/pkg_add/pkg_create3
-rw-r--r--usr.sbin/pkg_add/pkg_create.114
2 files changed, 7 insertions, 10 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index e09001228eb..f277f9a3a00 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.113 2007/06/04 18:52:01 espie Exp $
+# $OpenBSD: pkg_create,v 1.114 2007/06/14 10:16:37 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -610,6 +610,7 @@ my $base = '/';
if (defined $opt_B) {
$base = $opt_B;
} elsif (defined $opt_S) {
+ print STDERR "Warning: -S is deprecated, use -B instead\n";
$base = $opt_S;
} elsif (defined $ENV{'PKG_PREFIX'}) {
$base = $ENV{'PKG_PREFIX'};
diff --git a/usr.sbin/pkg_add/pkg_create.1 b/usr.sbin/pkg_add/pkg_create.1
index acb734a6022..6e5c3ae03a0 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.41 2007/06/02 15:32:07 jmc Exp $
+.\" $OpenBSD: pkg_create.1,v 1.42 2007/06/14 10:16:37 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -21,7 +21,7 @@
.\" [jkh] Took John's changes back and made some additional extensions for
.\" better integration with FreeBSD's new ports collection.
.\"
-.Dd $Mdocdate: June 2 2007 $
+.Dd $Mdocdate: June 14 2007 $
.Dt PKG_CREATE 1
.Os
.Sh NAME
@@ -187,14 +187,10 @@ Print out the actual packing-list of the package being generated
Most often used in combination with
.Fl n .
.It Fl S Ar pkg-destdir
-Set
-.Ar pkg-destdir
-as the prefix to prepend to any file to select for the package.
-This option is identical to the
-.Fl B
-option; however the
+Deprecated, use
+identical
.Fl B
-option is preferred.
+option instead.
.It Fl U Ar undisplayfile
Display the file (using
.Xr more 1 )