Imported Upstream version 3.3.1
[platform/upstream/libarchive.git] / tar / cmdline.c
index c87741c..e36c545 100644 (file)
@@ -65,6 +65,7 @@ static const struct bsdtar_option {
 } tar_longopts[] = {
        { "absolute-paths",       0, 'P' },
        { "append",               0, 'r' },
+       { "acls",                 0, OPTION_ACLS },
        { "auto-compress",        0, 'a' },
        { "b64encode",            0, OPTION_B64ENCODE },
        { "block-size",           1, 'b' },
@@ -81,11 +82,12 @@ static const struct bsdtar_option {
        { "create",               0, 'c' },
        { "dereference",          0, 'L' },
        { "directory",            1, 'C' },
-       { "disable-copyfile",     0, OPTION_DISABLE_COPYFILE },
+       { "disable-copyfile",     0, OPTION_NO_MAC_METADATA },
        { "exclude",              1, OPTION_EXCLUDE },
        { "exclude-from",         1, 'X' },
        { "extract",              0, 'x' },
        { "fast-read",            0, 'q' },
+       { "fflags",               0, OPTION_FFLAGS },
        { "file",                 1, 'f' },
        { "files-from",           1, 'T' },
        { "format",               1, OPTION_FORMAT },
@@ -108,6 +110,7 @@ static const struct bsdtar_option {
        { "lzip",                 0, OPTION_LZIP },
        { "lzma",                 0, OPTION_LZMA },
        { "lzop",                 0, OPTION_LZOP },
+       { "mac-metadata",         0, OPTION_MAC_METADATA },
        { "modification-time",    0, 'm' },
        { "newer",                1, OPTION_NEWER_CTIME },
        { "newer-ctime",          1, OPTION_NEWER_CTIME },
@@ -115,10 +118,14 @@ static const struct bsdtar_option {
        { "newer-mtime",          1, OPTION_NEWER_MTIME },
        { "newer-mtime-than",     1, OPTION_NEWER_MTIME_THAN },
        { "newer-than",           1, OPTION_NEWER_CTIME_THAN },
+       { "no-acls",              0, OPTION_NO_ACLS },
+       { "no-fflags",            0, OPTION_NO_FFLAGS },
+       { "no-mac-metadata",      0, OPTION_NO_MAC_METADATA },
        { "no-recursion",         0, 'n' },
        { "no-same-owner",        0, OPTION_NO_SAME_OWNER },
        { "no-same-permissions",  0, OPTION_NO_SAME_PERMISSIONS },
-       { "no-xattr",             0, OPTION_NO_XATTR },
+       { "no-xattr",             0, OPTION_NO_XATTRS },
+       { "no-xattrs",            0, OPTION_NO_XATTRS },
        { "nodump",               0, OPTION_NODUMP },
        { "nopreserveHFSCompression",0, OPTION_NOPRESERVE_HFS_COMPRESSION },
        { "norecurse",            0, 'n' },
@@ -151,6 +158,7 @@ static const struct bsdtar_option {
        { "uuencode",             0, OPTION_UUENCODE },
        { "verbose",              0, 'v' },
        { "version",              0, OPTION_VERSION },
+       { "xattrs",               0, OPTION_XATTRS },
        { "xz",                   0, 'J' },
        { NULL, 0, 0 }
 };