stdlib: Use initial caps for all error messages in std::getopts
This commit is contained in:
parent
3a2d64f044
commit
d85447c4fb
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue