#include "options.h" #include "unitnumber.h" #include Options::Options( int argc, char *argv[] ) { addOption( Bu::slot(this, &Options::selfTest), "self-test", "Run a series of tests to ensure everything is working correctly."); addHelpOption('h', "help", "This help"); parse( argc, argv ); } Options::~Options() { } int Options::selfTest( Bu::StringArray aArgs ) { UnitNumber().run(); exit( 0 ); }