See xbps-alternatives(1) for more information. Thanks to all who helped to design this and for fixing grammar in the manual page.