However pkcon -h shows that there is --autoremove as “Automatically remove unused dependencies”, but as I understand, it is meant to be used during the removal of main package “pkcon remove $packagename --autoremove”.
Thanks. In my case I get this response: “The flag --unneeded is not known.” (zypper 1.14.38). And zypper rm --clean-deps needs package name as argument.