Commit 4496dec90e784e0370e774f72108a5431b22d39c
1 parent
d2657471
Correct exception message for wrong boolean values in GApplicationPar.
Showing
1 changed file
with
1 additions
and
1 deletions
src/app/GApplicationPar.cpp
| ... | ... | @@ -949,7 +949,7 @@ void GApplicationPar::check_value_bool(const std::string& value) const |
| 949 | 949 | lvalue != "n" && lvalue != "no" && lvalue != "false" && lvalue != "f") { |
| 950 | 950 | std::string msg = "Invalid boolean value \""+value+"\" encountered" |
| 951 | 951 | " for parameter \""+m_name+"\". Use" |
| 952 | - " y/n/yes/no/true/false"; | |
| 952 | + " y/n/yes/no/t/f/true/false"; | |
| 953 | 953 | throw GException::invalid_value(G_CHECK_VALUE_BOOL, msg); |
| 954 | 954 | } |
| 955 | 955 | ... | ... |