Simplified parse_options to take first option as argument

This commit is contained in:
James Booth
2014-04-15 00:27:55 +01:00
parent 4425aba1f2
commit 40759eddbf
4 changed files with 16 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ gchar** parse_args(const char * const inp, int min, int max, gboolean *result);
gchar** parse_args_with_freetext(const char * const inp, int min, int max, gboolean *result);
int count_tokens(char *string);
char* get_start(char *string, int tokens);
GHashTable* parse_options(gchar **args, int start, gchar **keys, gboolean *res);
GHashTable* parse_options(gchar **args, gchar **keys, gboolean *res);
void options_destroy(GHashTable *options);
#endif