|
|
|
@ -215,7 +215,7 @@ public:
@@ -215,7 +215,7 @@ public:
|
|
|
|
|
* Return string argument or default value |
|
|
|
|
* |
|
|
|
|
* @param strArg Argument to get (e.g. "-foo") |
|
|
|
|
* @param default (e.g. "1") |
|
|
|
|
* @param strDefault (e.g. "1") |
|
|
|
|
* @return command-line argument or default value |
|
|
|
|
*/ |
|
|
|
|
std::string GetArg(const std::string& strArg, const std::string& strDefault); |
|
|
|
@ -224,7 +224,7 @@ public:
@@ -224,7 +224,7 @@ public:
|
|
|
|
|
* Return integer argument or default value |
|
|
|
|
* |
|
|
|
|
* @param strArg Argument to get (e.g. "-foo") |
|
|
|
|
* @param default (e.g. 1) |
|
|
|
|
* @param nDefault (e.g. 1) |
|
|
|
|
* @return command-line argument (0 if invalid number) or default value |
|
|
|
|
*/ |
|
|
|
|
int64_t GetArg(const std::string& strArg, int64_t nDefault); |
|
|
|
@ -233,7 +233,7 @@ public:
@@ -233,7 +233,7 @@ public:
|
|
|
|
|
* Return boolean argument or default value |
|
|
|
|
* |
|
|
|
|
* @param strArg Argument to get (e.g. "-foo") |
|
|
|
|
* @param default (true or false) |
|
|
|
|
* @param fDefault (true or false) |
|
|
|
|
* @return command-line argument or default value |
|
|
|
|
*/ |
|
|
|
|
bool GetBoolArg(const std::string& strArg, bool fDefault); |
|
|
|
|