What are the difference(s) between 'kopia repository set-parameters --upgrade' and 'kopia repository upgrade begin'?

Hi,

Kopia v0.9x release notes instructed users to upgrade the repository format with kopia repository set-parameters --upgrade

In Kopia’s current doc (v0.12.1 and likely before this version) there is a kopia repository upgrade begin command which at first glance seems to do the same thing.

Would you mind clarifying the difference(s), if any, between them please ?