Re: [Outreachy PATCH v5 1/3] parse-options: answer --git-completion-helper before command runs

From
Junio C Hamano <hidden>
Date
2026-11-06 04:11:26
Reply to
Tanga Joris, 2026-11-05
Tanga Joris [off-list ref] writes:
quoted hunk ↗ jump to hunk
+/*
+ * Programs that call parse_options() early do not need this function.
+ * If your program has to answer help requests (-h and --help-all) or
+ * the completion helper before parse_options() runs, call this
+ * function to answer them.
+ */
 void show_usage_with_options_if_asked(int ac, const char **av,
 				      const char * const *usage,
 				      const struct option *options);
OK.  Let's mark the topic as ready for 'next'.
Thread (24 messages) 24 messages, 5 authors, last reply 2d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help