projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b2c8b0
)
split's --verbose option did nothing
author
Jim Meyering
<jim@meyering.net>
Fri, 27 Jun 2003 07:41:55 +0000
(07:41 +0000)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/src/split.c
b/src/split.c
index
ebf98e2
..
c70e53a
100644
(file)
--- 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}