From 96e01b7c110219bef0b0f68b6054454ae27dee95 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Tue, 14 Aug 2018 11:59:05 -0500 Subject: 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 --- argument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1