Refactored /showcommand.