mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
clients/labnag.c: add newline to color errors.
This commit is contained in:
parent
35ec696bd9
commit
3ee12b1e95
1 changed files with 7 additions and 7 deletions
|
|
@ -1524,37 +1524,37 @@ nag_parse_options(int argc, char **argv, struct nag *nag,
|
|||
return LAB_EXIT_FAILURE;
|
||||
case TO_COLOR_BACKGROUND: /* Background color */
|
||||
if (!parse_color(optarg, &conf->background)) {
|
||||
fprintf(stderr, "Invalid background color: %s", optarg);
|
||||
fprintf(stderr, "Invalid background color: %s\n", optarg);
|
||||
}
|
||||
break;
|
||||
case TO_COLOR_BORDER: /* Border color */
|
||||
if (!parse_color(optarg, &conf->border)) {
|
||||
fprintf(stderr, "Invalid border color: %s", optarg);
|
||||
fprintf(stderr, "Invalid border color: %s\n", optarg);
|
||||
}
|
||||
break;
|
||||
case TO_COLOR_BORDER_BOTTOM: /* Bottom border color */
|
||||
if (!parse_color(optarg, &conf->border_bottom)) {
|
||||
fprintf(stderr, "Invalid border bottom color: %s", optarg);
|
||||
fprintf(stderr, "Invalid border bottom color: %s\n", optarg);
|
||||
}
|
||||
break;
|
||||
case TO_COLOR_BUTTON: /* Button background color */
|
||||
if (!parse_color(optarg, &conf->button_background)) {
|
||||
fprintf(stderr, "Invalid button background color: %s", optarg);
|
||||
fprintf(stderr, "Invalid button background color: %s\n", optarg);
|
||||
}
|
||||
break;
|
||||
case TO_COLOR_DETAILS: /* Details background color */
|
||||
if (!parse_color(optarg, &conf->details_background)) {
|
||||
fprintf(stderr, "Invalid details background color: %s", optarg);
|
||||
fprintf(stderr, "Invalid details background color: %s\n", optarg);
|
||||
}
|
||||
break;
|
||||
case TO_COLOR_TEXT: /* Text color */
|
||||
if (!parse_color(optarg, &conf->text)) {
|
||||
fprintf(stderr, "Invalid text color: %s", optarg);
|
||||
fprintf(stderr, "Invalid text color: %s\n", optarg);
|
||||
}
|
||||
break;
|
||||
case TO_COLOR_BUTTON_TEXT: /* Button text color */
|
||||
if (!parse_color(optarg, &conf->button_text)) {
|
||||
fprintf(stderr, "Invalid button text color: %s", optarg);
|
||||
fprintf(stderr, "Invalid button text color: %s\n", optarg);
|
||||
}
|
||||
break;
|
||||
case TO_THICK_BAR_BORDER: /* Bottom border thickness */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue