37 for (
int i = 0; usage[i] != 0; i++)
38 cout << usage[i] << endl;
Helper class for printing usage banners on the command line.
static void dump(const char **usage)
Prints each string in usage to std::cout, delimited by std::endl; usage must be terminated with a NUL...
Compatibility Macros for C/C++.
static void dump_and_exit(const char **usage, int rcode=1)
Same as dump, but performs _exit(rcode) afterwards.