# File lib/rhc/commands.rb, line 52 def self.deprecated? command_name = Commander::Runner.instance.command_name_from_args command = Commander::Runner.instance.active_command new_cmd = deprecated[command_name.to_sym] if new_cmd new_cmd = "rhc #{command.name}" if new_cmd == true RHC::Helpers.deprecated_command new_cmd end end