# File lib/rhc/commands.rb, line 151 def self.deprecated! instance = Commander::Runner.instance command_name = instance.command_name_from_args command = instance.active_command if new_cmd = command.deprecated(command_name) new_cmd = "rhc #{command.name}" if new_cmd == true RHC::Helpers.deprecated_command new_cmd end end