1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-18 13:55:36 -05:00

config: remove the -d command line option

Deprecated since v5

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2020-04-11 16:00:05 +01:00
parent 6828f24454
commit 7eb5c39f21
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47

View file

@ -469,8 +469,10 @@ bool get_early_config(int argc, char *const *argv, char **config_file, bool *all
} else if (o == 'b') { } else if (o == 'b') {
*fork = true; *fork = true;
} else if (o == 'd') { } else if (o == 'd') {
log_warn("-d will be ignored, please use the DISPLAY " log_error("-d is removed, please use the DISPLAY "
"environment variable"); "environment variable");
*exit_code = 1;
return true;
} else if (o == 314) { } else if (o == 314) {
*all_xerrors = true; *all_xerrors = true;
} else if (o == 318) { } else if (o == 318) {