command: update to use registrar
Created originally on Bitbucket by seanfarley (Sean Farley)
Was already merged in Bitbucket before import, marked as merged by the import user
Source changeset not longer availableat the time of import. Commit listwill look empty
Core Mercurial has deprecated cmdutil.commands in favor of registrar.commands.