aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-09 17:54:38 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-09 17:54:38 +0000
commit62f987e95f497a21bc1455153dd156aa12718574 (patch)
treeff2d7f6d98598aa60f51cf7d5b0278d62d88833a
parent958c78f9a10f2d4e58afa5700da098dfffa4279e (diff)
downloadbusybox-62f987e95f497a21bc1455153dd156aa12718574.tar.gz
Fix a thinko. Patch from Justus Pendleton <justus@acm.org>
-rw-r--r--archival/tar.c2
-rw-r--r--tar.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c
index c14a6194d..740462eb3 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -204,7 +204,7 @@ extern int tar_main(int argc, char **argv)
break;
#if defined BB_FEATURE_TAR_EXCLUDE
case 'e':
- if (strcmp(*argv, "-exclude")==0) {
+ if (strcmp(*argv, "exclude")==0) {
if (--argc == 0) {
fatalError( "Option requires an argument: No file specified\n");
}
diff --git a/tar.c b/tar.c
index c14a6194d..740462eb3 100644
--- a/tar.c
+++ b/tar.c
@@ -204,7 +204,7 @@ extern int tar_main(int argc, char **argv)
break;
#if defined BB_FEATURE_TAR_EXCLUDE
case 'e':
- if (strcmp(*argv, "-exclude")==0) {
+ if (strcmp(*argv, "exclude")==0) {
if (--argc == 0) {
fatalError( "Option requires an argument: No file specified\n");
}