CmdArgsHelp Class Reference
+ Inheritance diagram for CmdArgsHelp:

Static Public Member Functions

static QString argsHelp ()
 Returns all the options that Doomseeker accepts, excluding the ones for internal use. More...
 
static QString availableCommands ()
 Prepends "Available command line parameters" to argsHelp(). More...
 
static QString missingArgs (int expectedArguments, QString option)
 Returns a string informing about the lack of arguments, followed by availableCommands(). More...
 
static QString unrecognizedOption (QString option)
 Returns a string informing about the use of an unknown option, followed by availableCommands(). More...
 

Detailed Description

Definition at line 28 of file cmdargshelp.h.

Member Function Documentation

QString CmdArgsHelp::argsHelp ( )
static

Returns all the options that Doomseeker accepts, excluding the ones for internal use.

Definition at line 25 of file cmdargshelp.cpp.

QString CmdArgsHelp::availableCommands ( )
static

Prepends "Available command line parameters" to argsHelp().

Definition at line 69 of file cmdargshelp.cpp.

QString CmdArgsHelp::missingArgs ( int  expectedArguments,
QString  option 
)
static

Returns a string informing about the lack of arguments, followed by availableCommands().

Parameters
expectedArgumentsNumber of expected arguments.
optionOption that doesn't have enough arguments.

Definition at line 76 of file cmdargshelp.cpp.

QString CmdArgsHelp::unrecognizedOption ( QString  option)
static

Returns a string informing about the use of an unknown option, followed by availableCommands().

Parameters
optionUnknown option.

Definition at line 83 of file cmdargshelp.cpp.


The documentation for this class was generated from the following files: