|
a/src/query/recollq.cpp |
|
b/src/query/recollq.cpp |
|
... |
|
... |
168 |
Usage();
|
168 |
Usage();
|
169 |
while (**argv)
|
169 |
while (**argv)
|
170 |
switch (*(*argv)++) {
|
170 |
switch (*(*argv)++) {
|
171 |
case '-':
|
171 |
case '-':
|
172 |
// -- : end of options
|
172 |
// -- : end of options
|
|
|
173 |
if (*(*argv) != 0)
|
|
|
174 |
Usage();
|
173 |
goto endopts;
|
175 |
goto endopts;
|
174 |
case 'A': op_flags |= OPT_A; break;
|
176 |
case 'A': op_flags |= OPT_A; break;
|
175 |
case 'a': op_flags |= OPT_a; break;
|
177 |
case 'a': op_flags |= OPT_a; break;
|
176 |
case 'b': op_flags |= OPT_b; break;
|
178 |
case 'b': op_flags |= OPT_b; break;
|
177 |
case 'c': op_flags |= OPT_c; if (argc < 2) Usage();
|
179 |
case 'c': op_flags |= OPT_c; if (argc < 2) Usage();
|