Fix a thinko. Patch from Justus Pendleton <justus@acm.org>
authorEric Andersen <andersen@codepoet.org>
Mon, 9 Oct 2000 17:54:38 +0000 (17:54 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 9 Oct 2000 17:54:38 +0000 (17:54 -0000)
archival/tar.c
tar.c

index c14a6194d4544dc79304a1762bb814ffb2bd1511..740462eb307fb6de2f13a6ad54f12348fda0d038 100644 (file)
@@ -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 c14a6194d4544dc79304a1762bb814ffb2bd1511..740462eb307fb6de2f13a6ad54f12348fda0d038 100644 (file)
--- 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");
                                                }