Commit 987ea1f64e17f56994c25f888e467d908553f4fb
1 parent
97b1def5
Minor changes.
Showing
1 changed file
with
2 additions
and
2 deletions
include/CLI/App.hpp
| @@ -842,11 +842,11 @@ class App { | @@ -842,11 +842,11 @@ class App { | ||
| 842 | } | 842 | } |
| 843 | 843 | ||
| 844 | if (value.size() != 0) { | 844 | if (value.size() != 0) { |
| 845 | - if (write_description and opt->description_.size() != 0) { | 845 | + if (write_description && opt->has_description()) { |
| 846 | if (out.tellp() != 0) { | 846 | if (out.tellp() != 0) { |
| 847 | out << std::endl; | 847 | out << std::endl; |
| 848 | } | 848 | } |
| 849 | - out << "; " << opt->description_ << std::endl; | 849 | + out << "; " << opt->get_description() << std::endl; |
| 850 | } | 850 | } |
| 851 | out << name << "=" << value << std::endl; | 851 | out << name << "=" << value << std::endl; |
| 852 | } | 852 | } |