We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0378de commit 4ef31c3Copy full SHA for 4ef31c3
include/CLI/impl/Option_inl.hpp
@@ -396,9 +396,8 @@ CLI11_NODISCARD CLI11_INLINE std::string Option::get_flag_value(const std::strin
396
return input_value;
397
}
398
return (val == 1) ? falseString : (val == (-1) ? trueString : std::to_string(-val));
399
- } else {
400
- return input_value;
401
+ return input_value;
402
403
404
CLI11_INLINE Option *Option::add_result(std::string s) {
0 commit comments