diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-08-14 11:59:05 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-08-14 11:59:05 -0500 |
commit | 96e01b7c110219bef0b0f68b6054454ae27dee95 (patch) | |
tree | 84e856692a3a3ebb4dc28dd4c5b6b0f0711c922a /argument.cpp | |
parent | 32c3f632eaf79dd352aa108cac6bd28cff22295f (diff) | |
download | phosphor-gpio-monitor-96e01b7c110219bef0b0f68b6054454ae27dee95.tar.gz phosphor-gpio-monitor-96e01b7c110219bef0b0f68b6054454ae27dee95.zip |
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>
Diffstat (limited to 'argument.cpp')
-rw-r--r-- | argument.cpp | 2 |
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); |