]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
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 ebf98e24594437e1d534179fb7188c9f0b941d85..c70e53a0e86b405532071fb7f7634f8bf0ec3109 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}