summaryrefslogtreecommitdiff
path: root/builtin/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/help.c')
-rw-r--r--builtin/help.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/help.c b/builtin/help.c
index dc1fbe2b98..f7723bdf5c 100644
--- a/builtin/help.c
+++ b/builtin/help.c
@@ -631,7 +631,10 @@ static void opt_mode_usage(int argc, const char *opt_mode,
no_help_format(opt_mode, fmt);
}
-int cmd_help(int argc, const char **argv, const char *prefix)
+int cmd_help(int argc,
+ const char **argv,
+ const char *prefix,
+ struct repository *repo UNUSED)
{
int nongit;
enum help_format parsed_help_format;