tar: add -h and -T to help text
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 31 Jan 2011 04:35:23 +0000 (05:35 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 31 Jan 2011 04:35:23 +0000 (05:35 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/tar.c

index 813f86e827e647e381df43552fb29d2b2107f3f8..972f8d06d0e5fec436d5e05917f28d9a70e1ba5e 100644 (file)
@@ -720,11 +720,16 @@ static void handle_SIGCHLD(int status)
 #endif
 
 //usage:#define tar_trivial_usage
-//usage:       "-[" IF_FEATURE_TAR_CREATE("c") "xt" IF_FEATURE_SEAMLESS_GZ("z")
-//usage:       IF_FEATURE_SEAMLESS_BZ2("j") IF_FEATURE_SEAMLESS_LZMA("a")
-//usage:       IF_FEATURE_SEAMLESS_Z("Z") IF_FEATURE_TAR_NOPRESERVE_TIME("m") "vO] "
-//usage:       IF_FEATURE_TAR_FROM("[-X FILE] ")
-//usage:       "[-f TARFILE] [-C DIR] [FILE]..."
+//usage:       "-[" IF_FEATURE_TAR_CREATE("c") "xt"
+//usage:       IF_FEATURE_SEAMLESS_Z("Z")
+//usage:       IF_FEATURE_SEAMLESS_GZ("z")
+//usage:       IF_FEATURE_SEAMLESS_BZ2("j")
+//usage:       IF_FEATURE_SEAMLESS_LZMA("a")
+//usage:       IF_FEATURE_TAR_CREATE("h")
+//usage:       IF_FEATURE_TAR_NOPRESERVE_TIME("m")
+//usage:       "vO] "
+//usage:       IF_FEATURE_TAR_FROM("[-X FILE] [-T FILE] ")
+//usage:       "[-f TARFILE] [-C DIR] [FILE]..."
 //usage:#define tar_full_usage "\n\n"
 //usage:       IF_FEATURE_TAR_CREATE("Create, extract, ")
 //usage:       IF_NOT_FEATURE_TAR_CREATE("Extract ")
@@ -739,6 +744,9 @@ static void handle_SIGCHLD(int status)
 //usage:     "\n       f       Name of TARFILE ('-' for stdin/out)"
 //usage:     "\n       C       Change to DIR before operation"
 //usage:     "\n       v       Verbose"
+//usage:       IF_FEATURE_SEAMLESS_Z(
+//usage:     "\n       Z       (De)compress using compress"
+//usage:       )
 //usage:       IF_FEATURE_SEAMLESS_GZ(
 //usage:     "\n       z       (De)compress using gzip"
 //usage:       )
@@ -748,9 +756,6 @@ static void handle_SIGCHLD(int status)
 //usage:       IF_FEATURE_SEAMLESS_LZMA(
 //usage:     "\n       a       (De)compress using lzma"
 //usage:       )
-//usage:       IF_FEATURE_SEAMLESS_Z(
-//usage:     "\n       Z       (De)compress using compress"
-//usage:       )
 //usage:     "\n       O       Extract to stdout"
 //usage:       IF_FEATURE_TAR_CREATE(
 //usage:     "\n       h       Follow symlinks"