Skip to content

Commit

Permalink
config: remove -n, -a, -s
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yshui committed May 12, 2024
1 parent f510d8d commit d338cda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 0 additions & 5 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d338cda

Please sign in to comment.