Updated --version argument to give more detailed output.
This commit is contained in:
parent
2fb1459dff
commit
096b289cdf
15 changed files with 30 additions and 29 deletions
|
@ -21,12 +21,11 @@ namespace Util {
|
|||
static void signal_handler(int signum);
|
||||
public:
|
||||
//variables
|
||||
static std::string libver; ///< Version number of the library as a string.
|
||||
static bool is_active; ///< Set to true by activate(), set to false by the signal handler.
|
||||
static unsigned int printDebugLevel;
|
||||
//functions
|
||||
Config();
|
||||
Config(std::string cmd, std::string version);
|
||||
Config(std::string cmd);
|
||||
void addOption(std::string optname, JSON::Value option);
|
||||
void printHelp(std::ostream & output);
|
||||
bool parseArgs(int & argc, char ** & argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue