0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
Hypertable::Usage Class Reference

Helper class for printing usage banners on the command line. More...

#include <Usage.h>

Static Public Member Functions

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...
 

Detailed Description

Helper class for printing usage banners on the command line.

Definition at line 38 of file Usage.h.

Member Function Documentation

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: