Mercurial > hg > xemacs-beta
diff lib-src/getopt.c @ 255:084402c475ba r20-5b26
Import from CVS: tag r20-5b26
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:21:18 +0200 |
parents | 2d532a89d707 |
children | e11d67e05968 |
line wrap: on
line diff
--- a/lib-src/getopt.c Mon Aug 13 10:20:29 2007 +0200 +++ b/lib-src/getopt.c Mon Aug 13 10:21:18 2007 +0200 @@ -681,7 +681,7 @@ optarg = nameend + 1; else { - if (opterr) + if (opterr) { if (argv[optind - 1][1] == '-') /* --option */ fprintf (stderr, @@ -692,7 +692,7 @@ fprintf (stderr, _("%s: option `%c%s' doesn't allow an argument\n"), argv[0], argv[optind - 1][0], pfound->name); - + } nextchar += strlen (nextchar); optopt = pfound->val;