|
|
@@ -44,7 +44,7 @@ struct CommandLineArgumentsCallbackStructure;
|
|
|
*
|
|
|
* For the variable interface you associate variable with each argument. When
|
|
|
* the argument is specified, the variable is set to the specified value casted
|
|
|
- * to the apropriate type. For boolean (NO_ARGUMENT), the value is "1".
|
|
|
+ * to the appropriate type. For boolean (NO_ARGUMENT), the value is "1".
|
|
|
*
|
|
|
* Both interfaces can be used at the same time.
|
|
|
*
|
|
|
@@ -99,7 +99,7 @@ public:
|
|
|
STRING_TYPE, // The variable is string (char*)
|
|
|
STL_STRING_TYPE, // The variable is string (char*)
|
|
|
VECTOR_INT_TYPE, // The variable is integer (int)
|
|
|
- VECTOR_BOOL_TYPE, // The vairable is boolean (bool)
|
|
|
+ VECTOR_BOOL_TYPE, // The variable is boolean (bool)
|
|
|
VECTOR_DOUBLE_TYPE, // The variable is float (double)
|
|
|
VECTOR_STRING_TYPE, // The variable is string (char*)
|
|
|
VECTOR_STL_STRING_TYPE, // The variable is string (char*)
|
|
|
@@ -128,7 +128,7 @@ public:
|
|
|
void ProcessArgument(const char* arg);
|
|
|
|
|
|
/**
|
|
|
- * This method will parse arguments and call apropriate methods.
|
|
|
+ * This method will parse arguments and call appropriate methods.
|
|
|
*/
|
|
|
int Parse();
|
|
|
|
|
|
@@ -144,7 +144,7 @@ public:
|
|
|
/**
|
|
|
* Add handler for argument which is going to set the variable to the
|
|
|
* specified value. If the argument is specified, the option is casted to the
|
|
|
- * apropriate type.
|
|
|
+ * appropriate type.
|
|
|
*/
|
|
|
void AddArgument(const char* argument, ArgumentTypeEnum type,
|
|
|
bool* variable, const char* help);
|
|
|
@@ -160,7 +160,7 @@ public:
|
|
|
/**
|
|
|
* Add handler for argument which is going to set the variable to the
|
|
|
* specified value. If the argument is specified, the option is casted to the
|
|
|
- * apropriate type. This will handle the multi argument values.
|
|
|
+ * appropriate type. This will handle the multi argument values.
|
|
|
*/
|
|
|
void AddArgument(const char* argument, ArgumentTypeEnum type,
|
|
|
kwsys_stl::vector<bool>* variable, const char* help);
|