examples: extract argument conversion helper

This commit is contained in:
Etienne Samson
2019-11-06 11:16:47 +01:00
parent 204a464f42
commit c9a09b91c4
2 changed files with 19 additions and 0 deletions

View File

@@ -82,4 +82,9 @@ extern int match_bool_arg(int *out, struct args_info *args, const char *opt);
*/
extern int match_arg_separator(struct args_info *args);
/**
* Consume all remaining arguments in a git_strarray
*/
extern void strarray_from_args(git_strarray *array, struct args_info *args);
#endif