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:
efcde72
)
(main): Decrement optind when we find an `option' that
author
Jim Meyering
<jim@meyering.net>
Mon, 28 Sep 1998 03:35:51 +0000
(
03:35
+0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 28 Sep 1998 03:35:51 +0000
(
03:35
+0000)
looks like -N. Reported by Clark Morgan.
src/seq.c
patch
|
blob
|
history
diff --git
a/src/seq.c
b/src/seq.c
index
47a18f6
..
6de5335
100644
(file)
--- a/
src/seq.c
+++ b/
src/seq.c
@@
-135,6
+135,7
@@
main (int argc, char **argv)
if ('0' <= optc && optc <= '9')
{
/* means negative number */
+ --optind;
break;
}