|
@ -177,8 +177,7 @@ namespace storm { |
|
|
try { |
|
|
try { |
|
|
storm::settings::mutableManager().setFromCommandLine(argc, argv); |
|
|
storm::settings::mutableManager().setFromCommandLine(argc, argv); |
|
|
} catch (storm::exceptions::OptionParserException& e) { |
|
|
} catch (storm::exceptions::OptionParserException& e) { |
|
|
storm::settings::manager().printHelp(); |
|
|
|
|
|
throw e; |
|
|
|
|
|
|
|
|
STORM_LOG_ERROR("Unable to parse command line options. Type 'storm --help' or 'storm --help all' for help."); |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -186,7 +185,7 @@ namespace storm { |
|
|
|
|
|
|
|
|
bool result = true; |
|
|
bool result = true; |
|
|
if (general.isHelpSet()) { |
|
|
if (general.isHelpSet()) { |
|
|
storm::settings::manager().printHelp(storm::settings::getModule<storm::settings::modules::GeneralSettings>().getHelpModuleName()); |
|
|
|
|
|
|
|
|
storm::settings::manager().printHelp(storm::settings::getModule<storm::settings::modules::GeneralSettings>().getHelpFilterExpression()); |
|
|
result = false; |
|
|
result = false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|