mirror of git://git.sv.gnu.org/nano.git
startup: make an error message succinct and to the point
The verbosity "hid" the really relevant information: filename, line number, and the error message. Valid values and other details can be found in the manual pages.
This commit is contained in:
parent
bd97ae7255
commit
64366d9992
|
@ -611,11 +611,7 @@ short color_to_short(const char *colorname, bool *bright)
|
|||
else if (strcasecmp(colorname, "black") == 0)
|
||||
return COLOR_BLACK;
|
||||
|
||||
rcfile_error(N_("Color \"%s\" not understood.\n"
|
||||
"Valid colors are \"green\", \"red\", \"blue\",\n"
|
||||
"\"white\", \"yellow\", \"cyan\", \"magenta\" and\n"
|
||||
"\"black\", with the optional prefix \"bright\"\n"
|
||||
"for foreground colors."), colorname);
|
||||
rcfile_error(N_("Color \"%s\" not understood"), colorname);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue