Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
Change-Id: Ic396413f5bc7d9fc45e1042870634ea13185ae03
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/argument.cpp b/argument.cpp
index c47dcd9..3a59f68 100644
--- a/argument.cpp
+++ b/argument.cpp
@@ -61,7 +61,7 @@
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);