Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config short #443

Merged
merged 9 commits into from
Mar 22, 2020
Prev Previous commit
Next Next commit
formatting update
  • Loading branch information
phlptp committed Mar 11, 2020
commit e5a49237ca572589d14e689c14470852409af4f6
2 changes: 1 addition & 1 deletion include/CLI/App.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@ class App {
return this;
}
/// Produce a string that could be read in as a config of the current values of the App. Set default_also to
/// include default arguments. write_descriptions will print a description for the App and for each option.
/// include default arguments. write_descriptions will print a description for the App and for each option.
std::string config_to_str(bool default_also = false, bool write_description = false) const {
return config_formatter_->to_config(this, default_also, write_description, "");
}
Expand Down
2 changes: 1 addition & 1 deletion include/CLI/Option.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ class Option : public OptionBase<Option> {
}

if(!envname_.empty()) {
//this needs to be the original since envname_ shouldn't match on case insensitivity
// this needs to be the original since envname_ shouldn't match on case insensitivity
return (name == envname_);
}
return false;
Expand Down