summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/split.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/split.c b/src/split.c
index 9572e4ec6..793f035a0 100644
--- a/src/split.c
+++ b/src/split.c
@@ -79,7 +79,7 @@ static struct option const longopts[] =
{"lines", required_argument, NULL, 'l'},
{"line-bytes", required_argument, NULL, 'C'},
{"suffix-length", required_argument, NULL, 'a'},
- {"verbose", no_argument, NULL, 2},
+ {"verbose", no_argument, &verbose, 0},
{GETOPT_HELP_OPTION_DECL},
{GETOPT_VERSION_OPTION_DECL},
{NULL, 0, NULL, 0}
@@ -456,10 +456,6 @@ main (int argc, char **argv)
accum = accum * 10 + c - '0';
break;
- case 2:
- verbose = 1;
- break;
-
case_GETOPT_HELP_CHAR;
case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);