bash-completion: Add all submodule subcommands to the completion list
[gitweb.git] / help.h
diff --git a/help.h b/help.h
index d614e5491bbdad726dd8a356a3180c5f85ef3990..3f1ae89dd69413a4547e12bb3736bd66326d830f 100644 (file)
--- a/help.h
+++ b/help.h
@@ -10,6 +10,12 @@ struct cmdnames {
        } **names;
 };
 
+static inline void mput_char(char c, unsigned int num)
+{
+       while(num--)
+               putchar(c);
+}
+
 unsigned int load_command_list(const char *prefix,
                struct cmdnames *main_cmds,
                struct cmdnames *other_cmds);