Do not allow the same option multiple times

This commit is contained in:
angt
2015-11-09 08:58:57 +01:00
parent f7db7e0c45
commit 3a64658eaf
2 changed files with 11 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ struct option {
char *name;
void *data;
int (*call) (void *, int, char **);
int set;
};
int option_flag (void *, int, char **);