aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2008-03-15 03:28:39 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2008-03-15 03:28:39 +0000
commit1fd0d1f6de5580cff1657f5e3b414cf651989345 (patch)
treeb10b59ddca31fe88e333f96f4005ce49e20fc745 /usr.bin/tar
parentef1108fe61b3cadd28569e8a422bac05fa6cb887 (diff)
downloadsrc-1fd0d1f6de5580cff1657f5e3b414cf651989345.tar.gz
src-1fd0d1f6de5580cff1657f5e3b414cf651989345.zip
Support NetBSD's --insecure as a synonym for -P.
Notes
Notes: svn path=/head/; revision=177211
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/bsdtar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index 103d88c4614c..b158ebf18cc0 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -189,6 +189,7 @@ static const struct option tar_longopts[] = {
{ "help", no_argument, NULL, OPTION_HELP },
{ "include", required_argument, NULL, OPTION_INCLUDE },
{ "interactive", no_argument, NULL, 'w' },
+ { "insecure", no_argument, NULL, 'P' },
{ "keep-old-files", no_argument, NULL, 'k' },
{ "list", no_argument, NULL, 't' },
{ "modification-time", no_argument, NULL, 'm' },