Fix bug introduced in 3e6040e01

I can't call a function from _arguments
Add completion for rev-upgrade subcommand