MCPcopy Create free account
hub / github.com/eggert/tz / usage

Function usage

zdump.c:386–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386static void
387usage(FILE * const stream, const int status)
388{
389 fprintf(stream,
390_("%s: usage: %s OPTIONS TIMEZONE ...\n"
391 "Options include:\n"
392 " -c [L,]U Start at year L (default -500), end before year U (default 2500)\n"
393 " -t [L,]U Start at time L, end before time U (in seconds since 1970)\n"
394 " -i List transitions briefly (format is experimental)\n" \
395 " -v List transitions verbosely\n"
396 " -V List transitions a bit less verbosely\n"
397 " --help Output this help\n"
398 " --version Output version info\n"
399 "\n"
400 "Report bugs to %s.\n"),
401 progname, progname, REPORT_BUGS_TO);
402 if (status == EXIT_SUCCESS)
403 close_file(stream);
404 exit(status);
405}
406
407int
408main(int argc, char *argv[])

Callers 1

mainFunction · 0.70

Calls 1

close_fileFunction · 0.70

Tested by

no test coverage detected