config: remove -n, -a, -s

These are removed long before our time, I don't even know what they are.
We have been rejecting them with an error message for a while too, it's
time to just remove them.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2024-05-12 13:53:39 +01:00
parent f510d8dd62
commit f2ce27591c
No known key found for this signature in database
GPG Key ID: D3A4405BE6CC17F4
2 changed files with 2 additions and 6 deletions

View File

@ -34,6 +34,7 @@
## Deprecated features
* Setting `--shadow-exclude-reg` is now a hard error. It was deprecated almost since the start of `picom`. `--clip-shadow-above` is the better alternative. (#1254)
* Remove command line options `-n`, `-a`, and `-s`. They were removed more than 10 years ago, it's time to finally get rid of them entirely. (#1254)
## Bug fixes

View File

@ -307,7 +307,7 @@ static void usage(const char *argv0, int ret) {
}
}
static const char *shortopts = "D:I:O:r:o:m:l:t:i:e:hscnfCazGb";
static const char *shortopts = "D:I:O:r:o:m:l:t:i:e:hcfCzGb";
/// Get config options that are needed to parse the rest of the options
/// Return true if we should quit
@ -443,11 +443,6 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
"cleared under certain types of windows, you can use "
"the \"full-shadow\" per window type option.");
break;
case 'n':
case 'a':
case 's':
log_error("-n, -a, and -s have been removed.");
failed = true; break;
// Long options
case 256:
// --config