diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-06-21 19:30:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-06-21 19:30:10 +0000 |
commit | 091781e20eb055ac286b5a617d53a50c7d6c451e (patch) | |
tree | 2be329d957ce48547b950cc1c56d14d32096b055 /applets | |
parent | 8a646dd2933bc37e67e1b09fd3461816e38fc677 (diff) | |
download | busybox-w32-091781e20eb055ac286b5a617d53a50c7d6c451e.tar.gz busybox-w32-091781e20eb055ac286b5a617d53a50c7d6c451e.tar.bz2 busybox-w32-091781e20eb055ac286b5a617d53a50c7d6c451e.zip |
Support tar -C, per bug #1176
-Erik
Diffstat (limited to 'applets')
-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" \ |