diff options
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/cmdline_parser.h | 4 | ||||
-rw-r--r-- | cmdline/detail/cmdline_parse_argument_detail.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/cmdline_parser.h b/cmdline/cmdline_parser.h index 01806d48b2..86e3b2c7df 100644 --- a/cmdline/cmdline_parser.h +++ b/cmdline/cmdline_parser.h @@ -484,8 +484,8 @@ struct CmdlineParser { return *this; } - // Finish building the parser; performs sanity checks. Return value is moved, not copied. - // Do not call this more than once. + // Finish building the parser; performs a check of the validity. Return value is moved, not + // copied. Do not call this more than once. CmdlineParser Build() { assert(!built_); built_ = true; diff --git a/cmdline/detail/cmdline_parse_argument_detail.h b/cmdline/detail/cmdline_parse_argument_detail.h index 4591d0b11c..f5cbda9a73 100644 --- a/cmdline/detail/cmdline_parse_argument_detail.h +++ b/cmdline/detail/cmdline_parse_argument_detail.h @@ -189,7 +189,7 @@ struct CmdlineParserArgumentInfo { // Mark the argument definition as completed, do not mutate the object anymore after this // call is done. // - // Performs several sanity checks and token calculations. + // Performs several checks of the validity and token calculations. void CompleteArgument() { assert(names_.size() >= 1); assert(!is_completed_); |