summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-27 07:41:55 +0000
committerJim Meyering <jim@meyering.net>2003-06-27 07:41:55 +0000
commit9e6e479047c043bbf2e845ae92d1b04354bc62ec (patch)
tree53ae878e0a2cbf695f54fe0868e77210cb03e9dc /src
parent8b2c8b091c64b821e5a4690eb435494702c0a79a (diff)
downloadcoreutils-9e6e479047c043bbf2e845ae92d1b04354bc62ec.tar.xz
split's --verbose option did nothing
(longopts): Use `1', not `0' as the value for for &verbose.
Diffstat (limited to 'src')
-rw-r--r--src/split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c
index ebf98e245..c70e53a0e 100644
--- a/src/split.c
+++ b/src/split.c
@@ -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}