X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Foptions.h;h=b9d0231c9277e1547c82164b35e3a6dc236b55b3;hp=a822b47f3ac54c209c330ef6b41a8fc1be5fb804;hb=834902a1b9db396bd9aae10fe0ae725535afecfe;hpb=5ce89138d84a5edc6d9b8e6d8128367b9b9b3e31 diff --git a/include/yaz/options.h b/include/yaz/options.h index a822b47..b9d0231 100644 --- a/include/yaz/options.h +++ b/include/yaz/options.h @@ -55,6 +55,9 @@ YAZ_BEGIN_CDECL The first char is what is returned when met (single char option char). The second is zero ore more long option values (synonum for single char) If colon is appended, it means the option takes an argument. + If argv includes empty long option (--) that means "end of options" : + all argv data following that is considered non-options .. (0 returned + for each). */ YAZ_EXPORT int options(const char *desc, char **argv, int argc, char **arg);