diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-21 19:30:10 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-21 19:30:10 +0000 |
commit | ce5c25da381038fa6d2640a2f4aa77771ca2ee43 (patch) | |
tree | 2be329d957ce48547b950cc1c56d14d32096b055 /applets/usage.h | |
parent | 5547a74b8e70b6987ebbd5643dab08caae4fc376 (diff) | |
download | busybox-w32-ce5c25da381038fa6d2640a2f4aa77771ca2ee43.tar.gz busybox-w32-ce5c25da381038fa6d2640a2f4aa77771ca2ee43.tar.bz2 busybox-w32-ce5c25da381038fa6d2640a2f4aa77771ca2ee43.zip |
Support tar -C, per bug #1176
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@2872 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets/usage.h')
-rw-r--r-- | applets/usage.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/applets/usage.h b/applets/usage.h index d68652fe5..acba3677c 100644 --- a/applets/usage.h +++ b/applets/usage.h | |||
@@ -1154,9 +1154,10 @@ | |||
1154 | "221 foobar closing connection\n" | 1154 | "221 foobar closing connection\n" |
1155 | 1155 | ||
1156 | #define nslookup_trivial_usage \ | 1156 | #define nslookup_trivial_usage \ |
1157 | "[HOST]" | 1157 | "[HOST] [SERVER]" |
1158 | #define nslookup_full_usage \ | 1158 | #define nslookup_full_usage \ |
1159 | "Queries the nameserver for the IP address of the given HOST" | 1159 | "Queries the nameserver for the IP address of the given HOST\n" \ |
1160 | "optionally using a specified DNS server" | ||
1160 | #define nslookup_example_usage \ | 1161 | #define nslookup_example_usage \ |
1161 | "$ nslookup localhost\n" \ | 1162 | "$ nslookup localhost\n" \ |
1162 | "Server: default\n" \ | 1163 | "Server: default\n" \ |
@@ -1469,10 +1470,10 @@ | |||
1469 | #define tar_trivial_usage \ | 1470 | #define tar_trivial_usage \ |
1470 | "-[" USAGE_TAR_CREATE("c") "xtvO] " \ | 1471 | "-[" USAGE_TAR_CREATE("c") "xtvO] " \ |
1471 | USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \ | 1472 | USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \ |
1472 | "[-f TARFILE] [FILE(s)] ..." | 1473 | "[-f TARFILE] [-C DIR] [FILE(s)] ..." |
1473 | #define tar_full_usage \ | 1474 | #define tar_full_usage \ |
1474 | "Create, extract, or list files from a tar file.\n\n" \ | 1475 | "Create, extract, or list files from a tar file.\n\n" \ |
1475 | "Main operation mode:\n" \ | 1476 | "Options:\n" \ |
1476 | USAGE_TAR_CREATE("\tc\t\tcreate\n") \ | 1477 | USAGE_TAR_CREATE("\tc\t\tcreate\n") \ |
1477 | "\tx\t\textract\n" \ | 1478 | "\tx\t\textract\n" \ |
1478 | "\tt\t\tlist\n" \ | 1479 | "\tt\t\tlist\n" \ |
@@ -1483,7 +1484,7 @@ | |||
1483 | "\texclude\t\tfile to exclude\n" \ | 1484 | "\texclude\t\tfile to exclude\n" \ |
1484 | "\tX\t\tfile with names to exclude\n" \ | 1485 | "\tX\t\tfile with names to exclude\n" \ |
1485 | ) \ | 1486 | ) \ |
1486 | "\nInformative output:\n" \ | 1487 | "\tC\t\tchange to directory DIR before operation\n" \ |
1487 | "\tv\t\tverbosely list files processed" | 1488 | "\tv\t\tverbosely list files processed" |
1488 | #define tar_example_usage \ | 1489 | #define tar_example_usage \ |
1489 | "$ zcat /tmp/tarball.tar.gz | tar -xf -\n" \ | 1490 | "$ zcat /tmp/tarball.tar.gz | tar -xf -\n" \ |