diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-05-22 17:49:54 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-05-22 17:49:54 +0000 |
commit | cedda3bff25c434b2d5e3edbc56c4e7bff3b034a (patch) | |
tree | 978def1358ad6af9b3c2a2ab8624f73773b050fb /usr.bin | |
parent | 19157eae74697b85446841d8b4c7f8fa3e8c4276 (diff) | |
download | FreeBSD-src-cedda3bff25c434b2d5e3edbc56c4e7bff3b034a.zip FreeBSD-src-cedda3bff25c434b2d5e3edbc56c4e7bff3b034a.tar.gz |
Add --no-same-owner as a synonym for -o.
Note that bsdtar's -o (which follows SUSv2) is not the same as GNU tar's -o.
In GNU tar, -o and --no-same-owner are not synonyms.
Pointed out by: Kris Kennaway (required by xpenguins port)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tar/bsdtar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c index 145e198..cf8eaee 100644 --- a/usr.bin/tar/bsdtar.c +++ b/usr.bin/tar/bsdtar.c @@ -101,6 +101,7 @@ const struct option tar_longopts[] = { { "modification-time", no_argument, NULL, 'm' }, { "nodump", no_argument, NULL, OPTION_NODUMP }, { "norecurse", no_argument, NULL, 'n' }, + { "no-same-owner", no_argument, NULL, 'o' }, { "preserve-permissions", no_argument, NULL, 'p' }, { "read-full-blocks", no_argument, NULL, 'B' }, { "same-permissions", no_argument, NULL, 'p' }, |