split's --verbose option did nothing
authorJim Meyering <jim@meyering.net>
Fri, 27 Jun 2003 07:41:55 +0000 (07:41 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 27 Jun 2003 07:41:55 +0000 (07:41 +0000)
(longopts): Use `1', not `0' as the value for for &verbose.

src/split.c

index ebf98e2..c70e53a 100644 (file)
@@ -80,7 +80,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, &verbose, 0},
+  {"verbose", no_argument, &verbose, 1},
   {GETOPT_HELP_OPTION_DECL},
   {GETOPT_VERSION_OPTION_DECL},
   {NULL, 0, NULL, 0}