mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
example: declare print_usage function
This commit is contained in:
@@ -110,7 +110,7 @@ int print_matched_cb(const char *path, const char *matched_pathspec, void *paylo
|
||||
return ret;
|
||||
}
|
||||
|
||||
void print_usage(void)
|
||||
static void print_usage(void)
|
||||
{
|
||||
fprintf(stderr, "usage: add [options] [--] file-spec [file-spec] [...]\n\n");
|
||||
fprintf(stderr, "\t-n, --dry-run dry run\n");
|
||||
|
||||
Reference in New Issue
Block a user