Helper class for printing usage banners on the command line.
More...
#include <Usage.h>
|
static void | dump (const char **usage) |
| Prints each string in usage to std::cout, delimited by std::endl; usage must be terminated with a NULL pointer. More...
|
|
static void | dump_and_exit (const char **usage, int rcode=1) |
| Same as dump, but performs _exit(rcode) afterwards. More...
|
|
Helper class for printing usage banners on the command line.
Definition at line 38 of file Usage.h.
void Usage::dump |
( |
const char ** |
usage | ) |
|
|
static |
Prints each string in usage to std::cout, delimited by std::endl; usage must be terminated with a NULL pointer.
Definition at line 36 of file Usage.cc.
void Usage::dump_and_exit |
( |
const char ** |
usage, |
|
|
int |
rcode = 1 |
|
) |
| |
|
static |
Same as dump, but performs _exit(rcode) afterwards.
Definition at line 41 of file Usage.cc.
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/Common/Usage.h
- /home/doug/src/hypertable/src/cc/Common/Usage.cc