Manjaro KDE Plasma yay error

Manjaro KDE Plasma Sikaris , ‘yay -c’ stopped working after recent update.

I used to use ‘yay -c’ for cleaning. Used to work.

Error message is :
“error: invalid option: ‘–clean’ and ‘–refresh’ may not be used together
→ exit status 1”

yay had some changes in v12 last week. Check out more here:

yay -Sc or yay -Yc works

The command should have aways been -Sc or -Scc.