summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--argument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/argument.cpp b/argument.cpp
index c47dcd9..3a59f68 100644
--- a/argument.cpp
+++ b/argument.cpp
@@ -61,7 +61,7 @@ ArgumentParser::ArgumentParser(int argc, char** argv)
if (i->val)
{
- // optinal argument may get nullptr for optarg
+ // optional argument may get nullptr for optarg
// make it empty string in such case
auto arg = (optarg == nullptr ? "" : optarg);
arguments[i->name] = (i->has_arg ? arg : trueString);
OpenPOWER on IntegriCloud