Open Lighting Architecture  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Flags.cpp File Reference

Detailed Description

Namespaces

namespace  ola
 The namespace containing all OLA symbols.

Functions

 DEFINE_s_bool (version, v, false,"Display version information")
 DEFINE_bool (gen_manpage, false,"Generate a man page snippet")
void ola::SetHelpString (const string &first_line, const string &description)
void ola::DisplayUsage ()
 Print the usage text to stdout.
void ola::DisplayVersion ()
 Print the version text to stdout.
void ola::GenManPage ()
void ola::ParseFlags (int *argc, char **argv)
 Parses the command line flags up to the first non-flag value. argv is re-arranged so that it only contains non-flag arguments.