MCPcopy Index your code
hub / github.com/F-Stack/f-stack / usage

Function usage

tools/libutil/tests/humanize_number_test.c:391–403  ·  view source on GitHub ↗

Command line options usage */

Source from the content-addressed store, hash-verified

389
390/* Command line options usage */
391static void
392usage(char * progname) {
393 printf("%s: tests libutil humanize_number function\n", progname);
394 printf("Usage: %s [-nE] [-l num] [-v]\n\n", progname);
395 printf("Options:\n");
396 printf("\t-l num\tSet max length for result; buflen = num + 1\n");
397 printf("\t\t (NOTE: does not change expected result strings.)\n");
398 printf("\t-n\tInclude negative scale tests, which cause older libutil\n");
399 printf("\t\t version of function to coredump with assertion failure\n");
400 printf("\t-E\tInclude numbers > 1/2 Exa[byte] which currently fail\n");
401 printf("\t-v\tVerbose - always print summary results\n");
402 printf("\t-h, -?\tShow options\n");
403}
404
405/* Parse command line options */
406static void

Callers 1

read_optionsFunction · 0.70

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected