MCPcopy Index your code
hub / github.com/git/git / usage_msg_optf

Function usage_msg_optf

parse-options.c:1515–1526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1513}
1514
1515void NORETURN usage_msg_optf(const char * const fmt,
1516 const char * const *usagestr,
1517 const struct option *options, ...)
1518{
1519 struct strbuf msg = STRBUF_INIT;
1520 va_list ap;
1521 va_start(ap, options);
1522 strbuf_vaddf(&msg, fmt, ap);
1523 va_end(ap);
1524
1525 usage_msg_opt(msg.buf, usagestr, options);
1526}
1527
1528void die_for_incompatible_opt4(int opt1, const char *opt1_name,
1529 int opt2, const char *opt2_name,

Callers 7

cmd__submoduleFunction · 0.85
no_help_formatFunction · 0.85
opt_mode_usageFunction · 0.85
cmd_cat_fileFunction · 0.85
cmd_for_each_repoFunction · 0.85
cmd_range_diffFunction · 0.85
cmd_bisectFunction · 0.85

Calls 2

strbuf_vaddfFunction · 0.85
usage_msg_optFunction · 0.85

Tested by 1

cmd__submoduleFunction · 0.68