aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-21 19:30:10 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-21 19:30:10 +0000
commit091781e20eb055ac286b5a617d53a50c7d6c451e (patch)
tree2be329d957ce48547b950cc1c56d14d32096b055 /applets
parent8a646dd2933bc37e67e1b09fd3461816e38fc677 (diff)
downloadbusybox-091781e20eb055ac286b5a617d53a50c7d6c451e.tar.gz
Support tar -C, per bug #1176
-Erik
Diffstat (limited to 'applets')
-rw-r--r--applets/usage.h11
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 @@
"221 foobar closing connection\n"
#define nslookup_trivial_usage \
- "[HOST]"
+ "[HOST] [SERVER]"
#define nslookup_full_usage \
- "Queries the nameserver for the IP address of the given HOST"
+ "Queries the nameserver for the IP address of the given HOST\n" \
+ "optionally using a specified DNS server"
#define nslookup_example_usage \
"$ nslookup localhost\n" \
"Server: default\n" \
@@ -1469,10 +1470,10 @@
#define tar_trivial_usage \
"-[" USAGE_TAR_CREATE("c") "xtvO] " \
USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \
- "[-f TARFILE] [FILE(s)] ..."
+ "[-f TARFILE] [-C DIR] [FILE(s)] ..."
#define tar_full_usage \
"Create, extract, or list files from a tar file.\n\n" \
- "Main operation mode:\n" \
+ "Options:\n" \
USAGE_TAR_CREATE("\tc\t\tcreate\n") \
"\tx\t\textract\n" \
"\tt\t\tlist\n" \
@@ -1483,7 +1484,7 @@
"\texclude\t\tfile to exclude\n" \
"\tX\t\tfile with names to exclude\n" \
) \
- "\nInformative output:\n" \
+ "\tC\t\tchange to directory DIR before operation\n" \
"\tv\t\tverbosely list files processed"
#define tar_example_usage \
"$ zcat /tmp/tarball.tar.gz | tar -xf -\n" \