summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c14a619..740462e 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 c14a619..740462e 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");
}