mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-01 21:23:52 +00:00
Minor changes.
This commit is contained in:
parent
97b1def525
commit
987ea1f64e
@ -842,11 +842,11 @@ class App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (value.size() != 0) {
|
if (value.size() != 0) {
|
||||||
if (write_description and opt->description_.size() != 0) {
|
if (write_description && opt->has_description()) {
|
||||||
if (out.tellp() != 0) {
|
if (out.tellp() != 0) {
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
}
|
}
|
||||||
out << "; " << opt->description_ << std::endl;
|
out << "; " << opt->get_description() << std::endl;
|
||||||
}
|
}
|
||||||
out << name << "=" << value << std::endl;
|
out << name << "=" << value << std::endl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user