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

Function usage_padding

parse-options.c:1296–1302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1294#define USAGE_OPTS_WIDTH 26
1295
1296static void usage_padding(FILE *outfile, size_t pos)
1297{
1298 if (pos < USAGE_OPTS_WIDTH)
1299 fprintf(outfile, "%*s", USAGE_OPTS_WIDTH - (int)pos, "");
1300 else
1301 fprintf(outfile, "\n%*s", USAGE_OPTS_WIDTH, "");
1302}
1303
1304static const struct option *find_option_by_long_name(const struct option *opts,
1305 const char *long_name)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected