diff --git a/include/tclap/Arg.h b/include/tclap/Arg.h index a83e835..14a5be6 100644 --- a/include/tclap/Arg.h +++ b/include/tclap/Arg.h @@ -98,7 +98,7 @@ class Arg std::string _flag; /** - * A single work namd indentifying the argument. + * A single word namd identifying the argument. * This value (preceded by two dashed {--}) can also be used * to identify an argument on the command line. Note that the * _name does NOT include the two dashes as part of the _name. The @@ -137,7 +137,7 @@ class Arg bool _alreadySet; /** - * A pointer to a vistitor object. + * A pointer to a visitor object. * The visitor allows special handling to occur as soon as the * argument is matched. This defaults to NULL and should not * be used unless absolutely necessary. @@ -158,7 +158,7 @@ class Arg bool _acceptsMultipleValues; /** - * Performs the special handling described by the Vistitor. + * Performs the special handling described by the Visitor. */ void _checkWithVisitor() const; diff --git a/include/tclap/ArgTraits.h b/include/tclap/ArgTraits.h index 8b11453..7ae85a9 100644 --- a/include/tclap/ArgTraits.h +++ b/include/tclap/ArgTraits.h @@ -42,7 +42,7 @@ struct ValueLike { /** * A string like argument value type is a value that can be set using - * operator=(string). Usefull if the value type contains spaces which + * operator=(string). Useful if the value type contains spaces which * will be broken up into individual tokens by operator>>. */ struct StringLike { diff --git a/include/tclap/CmdLine.h b/include/tclap/CmdLine.h index f3452bc..c91e656 100644 --- a/include/tclap/CmdLine.h +++ b/include/tclap/CmdLine.h @@ -119,7 +119,7 @@ class CmdLine : public CmdLineInterface /** * A list of Visitors to be explicitly deleted when the destructor - * is called. At the moment, these are the Vistors created for the + * is called. At the moment, these are the Visitors created for the * default Args. */ std::list _visitorDeleteOnExitList; diff --git a/include/tclap/IgnoreRestVisitor.h b/include/tclap/IgnoreRestVisitor.h index e3e063c..d20f6e0 100644 --- a/include/tclap/IgnoreRestVisitor.h +++ b/include/tclap/IgnoreRestVisitor.h @@ -29,7 +29,7 @@ namespace TCLAP { /** - * A Vistor that tells the CmdLine to begin ignoring arguments after + * A Visitor that tells the CmdLine to begin ignoring arguments after * this one is parsed. */ class IgnoreRestVisitor: public Visitor diff --git a/include/tclap/UnlabeledMultiArg.h b/include/tclap/UnlabeledMultiArg.h index 0cf15f9..7995bc2 100644 --- a/include/tclap/UnlabeledMultiArg.h +++ b/include/tclap/UnlabeledMultiArg.h @@ -41,7 +41,7 @@ class UnlabeledMultiArg : public MultiArg { // If compiler has two stage name lookup (as gcc >= 3.4 does) - // this is requried to prevent undef. symbols + // this is required to prevent undef. symbols using MultiArg::_ignoreable; using MultiArg::_hasBlanks; using MultiArg::_extractValue; @@ -171,7 +171,7 @@ class UnlabeledMultiArg : public MultiArg virtual std::string longID(const std::string& val="val") const; /** - * Opertor ==. + * Operator ==. * \param a - The Arg to be compared to this. */ virtual bool operator==(const Arg& a) const; diff --git a/include/tclap/UnlabeledValueArg.h b/include/tclap/UnlabeledValueArg.h index 23ab1b9..25e85ff 100644 --- a/include/tclap/UnlabeledValueArg.h +++ b/include/tclap/UnlabeledValueArg.h @@ -44,7 +44,7 @@ class UnlabeledValueArg : public ValueArg { // If compiler has two stage name lookup (as gcc >= 3.4 does) - // this is requried to prevent undef. symbols + // this is required to prevent undef. symbols using ValueArg::_ignoreable; using ValueArg::_hasBlanks; using ValueArg::_extractValue; @@ -74,7 +74,7 @@ class UnlabeledValueArg : public ValueArg * ignored if the '--' flag is set. This defaults to false (cannot * be ignored) and should generally stay that way unless you have * some special need for certain arguments to be ignored. - * \param v - Optional Vistor. You should leave this blank unless + * \param v - Optional Visitor. You should leave this blank unless * you have a very good reason. */ UnlabeledValueArg( const std::string& name, @@ -104,7 +104,7 @@ class UnlabeledValueArg : public ValueArg * ignored if the '--' flag is set. This defaults to false (cannot * be ignored) and should generally stay that way unless you have * some special need for certain arguments to be ignored. - * \param v - Optional Vistor. You should leave this blank unless + * \param v - Optional Visitor. You should leave this blank unless * you have a very good reason. */ UnlabeledValueArg( const std::string& name, @@ -132,7 +132,7 @@ class UnlabeledValueArg : public ValueArg * ignored if the '--' flag is set. This defaults to false (cannot * be ignored) and should generally stay that way unless you have * some special need for certain arguments to be ignored. - * \param v - Optional Vistor. You should leave this blank unless + * \param v - Optional Visitor. You should leave this blank unless * you have a very good reason. */ UnlabeledValueArg( const std::string& name, @@ -161,7 +161,7 @@ class UnlabeledValueArg : public ValueArg * ignored if the '--' flag is set. This defaults to false (cannot * be ignored) and should generally stay that way unless you have * some special need for certain arguments to be ignored. - * \param v - Optional Vistor. You should leave this blank unless + * \param v - Optional Visitor. You should leave this blank unless * you have a very good reason. */ UnlabeledValueArg( const std::string& name, @@ -177,7 +177,7 @@ class UnlabeledValueArg : public ValueArg * Handles the processing of the argument. * This re-implements the Arg version of this method to set the * _value of the argument appropriately. Handling specific to - * unlabled arguments. + * unlabeled arguments. * \param i - Pointer the the current argument in the list. * \param args - Mutable list of strings. */ @@ -207,7 +207,7 @@ class UnlabeledValueArg : public ValueArg }; /** - * Constructor implemenation. + * Constructor implementation. */ template UnlabeledValueArg::UnlabeledValueArg(const std::string& name, @@ -242,7 +242,7 @@ UnlabeledValueArg::UnlabeledValueArg(const std::string& name, } /** - * Constructor implemenation. + * Constructor implementation. */ template UnlabeledValueArg::UnlabeledValueArg(const std::string& name, diff --git a/include/tclap/VersionVisitor.h b/include/tclap/VersionVisitor.h index 3ece2f4..3ef8b58 100644 --- a/include/tclap/VersionVisitor.h +++ b/include/tclap/VersionVisitor.h @@ -31,7 +31,7 @@ namespace TCLAP { /** - * A Vistor that will call the version method of the given CmdLineOutput + * A Visitor that will call the version method of the given CmdLineOutput * for the specified CmdLine object and then exit. */ class VersionVisitor: public Visitor diff --git a/include/tclap/XorHandler.h b/include/tclap/XorHandler.h index ec00f2a..64fcffc 100644 --- a/include/tclap/XorHandler.h +++ b/include/tclap/XorHandler.h @@ -52,7 +52,7 @@ class XorHandler XorHandler( ) : _orList(std::vector< std::vector >()) {} /** - * Add a list of Arg*'s that will be orred together. + * Add a list of Arg*'s that will be xor'd together. * \param ors - list of Arg* that will be xor'd. */ void add( std::vector& ors ); diff --git a/include/tclap/ZshCompletionOutput.h b/include/tclap/ZshCompletionOutput.h index 83eca67..d3f20f5 100644 --- a/include/tclap/ZshCompletionOutput.h +++ b/include/tclap/ZshCompletionOutput.h @@ -193,7 +193,7 @@ inline void ZshCompletionOutput::printOption(Arg* a, std::string mutex) std::string name = a->nameStartString() + a->getName(); std::string desc = a->getDescription(); - // remove full stop and capitalisation from description as + // remove full stop and capitalization from description as // this is the convention for zsh function if (!desc.compare(0, 12, "(required) ")) {