summaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
authorEric Andersen2000-12-04 18:51:09 +0000
committerEric Andersen2000-12-04 18:51:09 +0000
commit8cede00b9eccb077232030723867566ad5685c6f (patch)
treea4f6d4889d8b3e779477ccbabb7de29d80fe0a6f /applets/usage.c
parentf484e7e65c80e39ec7d9e14bbb1cc2fc2a62ae25 (diff)
downloadbusybox-8cede00b9eccb077232030723867566ad5685c6f.zip
busybox-8cede00b9eccb077232030723867566ad5685c6f.tar.gz
Patch to add in the -X option and fix the --exclude bug, originally by
Sebastien Huet, and now ported to the latest and greatest by both Arne Bernin <ab@netropol.de> and kent robotti <robotti@metconnect.com>.
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c
index bab6d21..bd2321f 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -1218,6 +1218,7 @@ const char tar_usage[] =
#endif
#if defined BB_FEATURE_TAR_EXCLUDE
"[--exclude File] "
+ "[-X File]"
#endif
"[-f tarFile] [FILE(s)] ...\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
@@ -1234,6 +1235,7 @@ const char tar_usage[] =
"\tO\t\textract to stdout\n"
#if defined BB_FEATURE_TAR_EXCLUDE
"\texclude\t\tfile to exclude\n"
+ "\tX\t\tfile with names to exclude\n"
#endif
"\nInformative output:\n"
"\tv\t\tverbosely list files processed\n"