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
1 changed files with 4 additions and 2 deletions

View File

@ -469,8 +469,10 @@ bool get_early_config(int argc, char *const *argv, char **config_file, bool *all
} else if (o == 'b') {
*fork = true;
} 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");
*exit_code = 1;
return true;
} else if (o == 314) {
*all_xerrors = true;
} else if (o == 318) {