aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-01-31 05:35:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-01-31 05:35:23 +0100
commitb5233f8556d330ae866b903f64a5f14535e4b171 (patch)
tree3b82e85a4a1f0bc5ede33529e0bce491aa866394
parentaa4f9a2fd8a077c4e61e78fc397b47e541b0c140 (diff)
downloadbusybox-w32-b5233f8556d330ae866b903f64a5f14535e4b171.tar.gz
busybox-w32-b5233f8556d330ae866b903f64a5f14535e4b171.tar.bz2
busybox-w32-b5233f8556d330ae866b903f64a5f14535e4b171.zip
tar: add -h and -T to help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/tar.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 813f86e82..972f8d06d 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -720,11 +720,16 @@ static void handle_SIGCHLD(int status)
720#endif 720#endif
721 721
722//usage:#define tar_trivial_usage 722//usage:#define tar_trivial_usage
723//usage: "-[" IF_FEATURE_TAR_CREATE("c") "xt" IF_FEATURE_SEAMLESS_GZ("z") 723//usage: "-[" IF_FEATURE_TAR_CREATE("c") "xt"
724//usage: IF_FEATURE_SEAMLESS_BZ2("j") IF_FEATURE_SEAMLESS_LZMA("a") 724//usage: IF_FEATURE_SEAMLESS_Z("Z")
725//usage: IF_FEATURE_SEAMLESS_Z("Z") IF_FEATURE_TAR_NOPRESERVE_TIME("m") "vO] " 725//usage: IF_FEATURE_SEAMLESS_GZ("z")
726//usage: IF_FEATURE_TAR_FROM("[-X FILE] ") 726//usage: IF_FEATURE_SEAMLESS_BZ2("j")
727//usage: "[-f TARFILE] [-C DIR] [FILE]..." 727//usage: IF_FEATURE_SEAMLESS_LZMA("a")
728//usage: IF_FEATURE_TAR_CREATE("h")
729//usage: IF_FEATURE_TAR_NOPRESERVE_TIME("m")
730//usage: "vO] "
731//usage: IF_FEATURE_TAR_FROM("[-X FILE] [-T FILE] ")
732//usage: "[-f TARFILE] [-C DIR] [FILE]..."
728//usage:#define tar_full_usage "\n\n" 733//usage:#define tar_full_usage "\n\n"
729//usage: IF_FEATURE_TAR_CREATE("Create, extract, ") 734//usage: IF_FEATURE_TAR_CREATE("Create, extract, ")
730//usage: IF_NOT_FEATURE_TAR_CREATE("Extract ") 735//usage: IF_NOT_FEATURE_TAR_CREATE("Extract ")
@@ -739,6 +744,9 @@ static void handle_SIGCHLD(int status)
739//usage: "\n f Name of TARFILE ('-' for stdin/out)" 744//usage: "\n f Name of TARFILE ('-' for stdin/out)"
740//usage: "\n C Change to DIR before operation" 745//usage: "\n C Change to DIR before operation"
741//usage: "\n v Verbose" 746//usage: "\n v Verbose"
747//usage: IF_FEATURE_SEAMLESS_Z(
748//usage: "\n Z (De)compress using compress"
749//usage: )
742//usage: IF_FEATURE_SEAMLESS_GZ( 750//usage: IF_FEATURE_SEAMLESS_GZ(
743//usage: "\n z (De)compress using gzip" 751//usage: "\n z (De)compress using gzip"
744//usage: ) 752//usage: )
@@ -748,9 +756,6 @@ static void handle_SIGCHLD(int status)
748//usage: IF_FEATURE_SEAMLESS_LZMA( 756//usage: IF_FEATURE_SEAMLESS_LZMA(
749//usage: "\n a (De)compress using lzma" 757//usage: "\n a (De)compress using lzma"
750//usage: ) 758//usage: )
751//usage: IF_FEATURE_SEAMLESS_Z(
752//usage: "\n Z (De)compress using compress"
753//usage: )
754//usage: "\n O Extract to stdout" 759//usage: "\n O Extract to stdout"
755//usage: IF_FEATURE_TAR_CREATE( 760//usage: IF_FEATURE_TAR_CREATE(
756//usage: "\n h Follow symlinks" 761//usage: "\n h Follow symlinks"