options_match
options_match(const char *s, int *idx, int *ambiguous)
char *options_match(const char *, int *, int *);