summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-08-14 11:59:05 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-08-14 11:59:05 -0500
commit96e01b7c110219bef0b0f68b6054454ae27dee95 (patch)
tree84e856692a3a3ebb4dc28dd4c5b6b0f0711c922a
parent32c3f632eaf79dd352aa108cac6bd28cff22295f (diff)
downloadphosphor-gpio-monitor-96e01b7c110219bef0b0f68b6054454ae27dee95.zip
phosphor-gpio-monitor-96e01b7c110219bef0b0f68b6054454ae27dee95.tar.gz
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>
-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