mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-02 21:53:51 +00:00
A few fixes for failing tests
This commit is contained in:
parent
78ed995685
commit
9e183646c5
@ -842,9 +842,9 @@ class App {
|
||||
value = "false";
|
||||
}
|
||||
|
||||
if(value.size() != 0) {
|
||||
if(!value.empty()) {
|
||||
if(write_description && opt->has_description()) {
|
||||
if(out.tellp() != 0) {
|
||||
if(static_cast<int>(out.tellp()) != 0) {
|
||||
out << std::endl;
|
||||
}
|
||||
out << "; " << detail::fix_newlines("; ", opt->get_description()) << std::endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user