Provide access to showHelp function.

This commit is contained in:
Roman Telezhynskyi 2020-04-21 18:58:01 +03:00
parent 3a675f0552
commit a9de60f515
2 changed files with 8 additions and 0 deletions

View File

@ -96,6 +96,12 @@ bool VPuzzleCommandLine::IsNoScalingEnabled() const
return IsOptionSet(LONG_OPTION_NO_HDPI_SCALING);
}
//----------------------------------------------------------------------------------------------------------------------
void VPuzzleCommandLine::ShowHelp(int exitCode)
{
parser.showHelp(exitCode);
}
//----------------------------------------------------------------------------------------------
VPuzzleCommandLine::VPuzzleCommandLine():
parser(),

View File

@ -61,6 +61,8 @@ public:
/** @brief if high dpi scaling is enabled */
bool IsNoScalingEnabled() const;
Q_NORETURN void ShowHelp(int exitCode = 0);
protected:
VPuzzleCommandLine();