mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Minor improvements at startup
Found due to expiry date
This commit is contained in:
committed by
Mathew Sutcliffe
parent
683cffd42b
commit
2821cd5213
@@ -873,14 +873,15 @@ namespace BlackCore
|
||||
// help/version
|
||||
if (this->m_parser.isSet(this->m_cmdHelp))
|
||||
{
|
||||
// Important parser help will already stop application
|
||||
// Important: parser help will already stop application
|
||||
this->cmdLineHelpMessage();
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
if (this->m_parser.isSet(this->m_cmdVersion))
|
||||
{
|
||||
// Important: version will already stop application
|
||||
this->cmdLineVersionMessage();
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// dev.
|
||||
|
||||
@@ -244,6 +244,7 @@ namespace BlackCore
|
||||
//! Parses and handles the standard options such as help, version, parse error
|
||||
//! \note in some cases (error, version, help) application is terminated during this step
|
||||
//! \sa parsingHookIn
|
||||
//! \return true means to continue, false to stop
|
||||
bool parse();
|
||||
//! @}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user