1
Fork 0

stdlib: Use initial caps for all error messages in std::getopts

This commit is contained in:
Brian Anderson 2011-05-21 21:55:05 -04:00
parent 3a2d64f044
commit d85447c4fb

View file

@ -116,7 +116,7 @@ fn fail_str(fail_ f) -> str {
"Required option '" + nm + "' missing." "Required option '" + nm + "' missing."
} }
case (option_duplicated(?nm)) { case (option_duplicated(?nm)) {
"option '" + nm + "' given more than once." "Option '" + nm + "' given more than once."
} }
case (unexpected_argument(?nm)) { case (unexpected_argument(?nm)) {
"Option " + nm + " does not take an argument." "Option " + nm + " does not take an argument."