From: Jim Meyering Date: Mon, 28 Sep 1998 03:35:51 +0000 (+0000) Subject: (main): Decrement optind when we find an `option' that X-Git-Tag: FILEUTILS-4_0-pre1~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e99e73234e789a787f1360137c9a84a99c1649e;p=thirdparty%2Fcoreutils.git (main): Decrement optind when we find an `option' that looks like -N. Reported by Clark Morgan. --- diff --git a/src/seq.c b/src/seq.c index 47a18f655e..6de5335bc9 100644 --- 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; }