mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added the option to leave out the short parameter option
This commit is contained in:
12
dependencies/include/getoptPlusPlus/getoptpp.h
vendored
12
dependencies/include/getoptPlusPlus/getoptpp.h
vendored
@@ -175,15 +175,6 @@ public:
|
||||
/** Test whether the parameter has been set */
|
||||
virtual bool isSet() const = 0;
|
||||
|
||||
|
||||
/** Attempt to down-cast to PODParameter<T>.
|
||||
*
|
||||
* This is very convenient, but also an unholy crime against
|
||||
* most principles of sane OOP design.
|
||||
*/
|
||||
template<typename T>
|
||||
T get() const;
|
||||
|
||||
/** This parameter's line in OptionsParser::usage() */
|
||||
virtual std::string usageLine() const = 0;
|
||||
|
||||
@@ -193,6 +184,9 @@ public:
|
||||
/** The long name of this parameter (e.g. "--option"), without the dash. */
|
||||
const std::string& longOption() const;
|
||||
|
||||
/** Check if this parameters has a short option */
|
||||
bool hasShortOption() const;
|
||||
|
||||
/** The short name of this parameter (e.g. "-o"), without the dash. */
|
||||
char shortOption() const;
|
||||
|
||||
|
Reference in New Issue
Block a user