diff options
author | Ron Yorston <rmy@pobox.com> | 2018-04-02 09:24:14 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-04-02 09:24:14 +0100 |
commit | 34a68d327b42c3c700e84cd475496985782290b1 (patch) | |
tree | 99bfe59cca420d26f01e81a7f41763f71b44d22c /archival/tar.c | |
parent | aff3c5bd7b6bdcfb97f63153ab839c5f55f16a12 (diff) | |
parent | e84212f8346741a2d4a04b40639c44fe519cf5a7 (diff) | |
download | busybox-w32-34a68d327b42c3c700e84cd475496985782290b1.tar.gz busybox-w32-34a68d327b42c3c700e84cd475496985782290b1.tar.bz2 busybox-w32-34a68d327b42c3c700e84cd475496985782290b1.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/archival/tar.c b/archival/tar.c index d0684b69e..308ce7701 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -792,7 +792,7 @@ static llist_t *append_file_list_to_list(llist_t *list) | |||
792 | //usage: IF_FEATURE_SEAMLESS_LZMA("a") | 792 | //usage: IF_FEATURE_SEAMLESS_LZMA("a") |
793 | //usage: IF_FEATURE_TAR_CREATE("h") | 793 | //usage: IF_FEATURE_TAR_CREATE("h") |
794 | //usage: IF_FEATURE_TAR_NOPRESERVE_TIME("m") | 794 | //usage: IF_FEATURE_TAR_NOPRESERVE_TIME("m") |
795 | //usage: "vO] " | 795 | //usage: "vokO] " |
796 | //usage: "[-f TARFILE] [-C DIR] " | 796 | //usage: "[-f TARFILE] [-C DIR] " |
797 | //usage: IF_FEATURE_TAR_FROM("[-T FILE] [-X FILE] "IF_FEATURE_TAR_LONG_OPTIONS("[--exclude PATTERN]... ")) | 797 | //usage: IF_FEATURE_TAR_FROM("[-T FILE] [-X FILE] "IF_FEATURE_TAR_LONG_OPTIONS("[--exclude PATTERN]... ")) |
798 | //usage: "[FILE]..." | 798 | //usage: "[FILE]..." |
@@ -809,6 +809,13 @@ static llist_t *append_file_list_to_list(llist_t *list) | |||
809 | //usage: "\n -f FILE Name of TARFILE ('-' for stdin/out)" | 809 | //usage: "\n -f FILE Name of TARFILE ('-' for stdin/out)" |
810 | //usage: "\n -C DIR Change to DIR before operation" | 810 | //usage: "\n -C DIR Change to DIR before operation" |
811 | //usage: "\n -v Verbose" | 811 | //usage: "\n -v Verbose" |
812 | //usage: "\n -O Extract to stdout" | ||
813 | //usage: IF_FEATURE_TAR_NOPRESERVE_TIME( | ||
814 | //usage: "\n -m Don't restore mtime" | ||
815 | //usage: ) | ||
816 | //usage: "\n -o Don't restore user:group" | ||
817 | ///////:-p - accepted but ignored, restores mode (aliases in GNU tar: --preserve-permissions, --same-permissions) | ||
818 | //usage: "\n -k Don't replace existing files" | ||
812 | //usage: IF_FEATURE_SEAMLESS_Z( | 819 | //usage: IF_FEATURE_SEAMLESS_Z( |
813 | //usage: "\n -Z (De)compress using compress" | 820 | //usage: "\n -Z (De)compress using compress" |
814 | //usage: ) | 821 | //usage: ) |
@@ -824,13 +831,9 @@ static llist_t *append_file_list_to_list(llist_t *list) | |||
824 | //usage: IF_FEATURE_SEAMLESS_LZMA( | 831 | //usage: IF_FEATURE_SEAMLESS_LZMA( |
825 | //usage: "\n -a (De)compress using lzma" | 832 | //usage: "\n -a (De)compress using lzma" |
826 | //usage: ) | 833 | //usage: ) |
827 | //usage: "\n -O Extract to stdout" | ||
828 | //usage: IF_FEATURE_TAR_CREATE( | 834 | //usage: IF_FEATURE_TAR_CREATE( |
829 | //usage: "\n -h Follow symlinks" | 835 | //usage: "\n -h Follow symlinks" |
830 | //usage: ) | 836 | //usage: ) |
831 | //usage: IF_FEATURE_TAR_NOPRESERVE_TIME( | ||
832 | //usage: "\n -m Don't restore mtime" | ||
833 | //usage: ) | ||
834 | //usage: IF_FEATURE_TAR_FROM( | 837 | //usage: IF_FEATURE_TAR_FROM( |
835 | //usage: "\n -T FILE File with names to include" | 838 | //usage: "\n -T FILE File with names to include" |
836 | //usage: "\n -X FILE File with glob patterns to exclude" | 839 | //usage: "\n -X FILE File with glob patterns to exclude" |
@@ -844,9 +847,6 @@ static llist_t *append_file_list_to_list(llist_t *list) | |||
844 | //usage: "$ tar -cf /tmp/tarball.tar /usr/local\n" | 847 | //usage: "$ tar -cf /tmp/tarball.tar /usr/local\n" |
845 | 848 | ||
846 | // Supported but aren't in --help: | 849 | // Supported but aren't in --help: |
847 | // o no-same-owner | ||
848 | // p same-permissions | ||
849 | // k keep-old | ||
850 | // no-recursion | 850 | // no-recursion |
851 | // numeric-owner | 851 | // numeric-owner |
852 | // no-same-permissions | 852 | // no-same-permissions |