@@ -38,7 +38,7 @@ First initialize the singleton with options and the commandline arguments.
3838
3939Arguments can be tested using the functions flagged, value and rest.
4040Options should be a 3xN array of character pointers, ending in {0,0,0}. Options are defined with:
41- {"flagges and long names, space seperated ", "valuename, if any", "Help text explaning what the option is."}
41+ {"flags and long names, space separated ", "valuename, if any", "Help text explaning what the option is."}
4242
4343 WARNING: Arguments only supports up to 39 long options currently! See the TODO in Arguments.cc
4444
@@ -103,13 +103,13 @@ class Arguments {
103103 std::string d_empty; // /<A non const empty string
104104
105105 static Arguments *s_instance; // /<Pointer to the singleton instance
106- static OpenMP::Lock s_instanceLock; // /<Lock for autmoatic instantiation and destruction
106+ static OpenMP::Lock s_instanceLock; // /<Lock for automatic instantiation and destruction
107107
108108
109109 public:
110- // /\brief A structure containing the defenition of a commandline option
110+ // /\brief A structure containing the definition of a commandline option
111111 struct Option {
112- std::string flags; // /<All flags it can be called with, space seperated ("f force" will allow "-f" and "--force")
112+ std::string flags; // /<All flags it can be called with, space separated ("f force" will allow "-f" and "--force")
113113 std::string value; // /<The value, if any, the argument of the option is called. "<value>" for required, "[value]" for optional.
114114 std::string helpText; // /< The help text, describing this option. This is used when generating the help output.
115115 };
0 commit comments