class ChefCLI::Command::DeletePolicy

def apply_params!(params)

def apply_params!(params)
  remaining_args = parse_options(params)
  if remaining_args.size == 1
    @policy_name = remaining_args.first
    true
  elsif remaining_args.empty?
    ui.err("You must specify the POLICY_NAME to delete.")
    ui.err("")
    ui.err(opt_parser)
    false
  else
    ui.err("Too many arguments")
    ui.err("")
    ui.err(opt_parser)
    false
  end
end