projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow combined single char options (again)
[yaz-moved-to-github.git]
/
src
/
options.c
diff --git
a/src/options.c
b/src/options.c
index
e9e2f68
..
88c1c92
100644
(file)
--- a/
src/options.c
+++ b/
src/options.c
@@
-90,9
+90,7
@@
int options (const char *desc, char **argv, int argc, char **arg)
}
else /* option with no argument */
{
- if (argv[arg_no][arg_off])
- arg_off++;
- else
+ if (!argv[arg_no][arg_off])
{
arg_off = 0;
arg_no++;