From 62f987e95f497a21bc1455153dd156aa12718574 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 9 Oct 2000 17:54:38 +0000 Subject: [PATCH] Fix a thinko. Patch from Justus Pendleton --- archival/tar.c | 2 +- tar.c | 2 +- 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"); }