/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
const char *opt_buf = 0;
size_t i = 0;
int ch = 0;
-
+
if (arg_no >= argc)
return YAZ_OPTIONS_EOF;
if (arg_off == 0)
type = desc[i++];
}
if (desc_char == ch)
- {
+ {
if (type) /* option with argument */
{
if (argv[arg_no][arg_off])
}
}
return ch;
- }
+ }
}
*arg = argv[arg_no]+arg_off-1;
arg_no = arg_no + 1;