lib/configliere/commandline.rb
def find_param_for_flag(flag)
      params_with(:flag).each do |param_name, param_flag|
        return param_name if flag.to_s == param_flag.to_s
      end
      nil
    end
# Retrieve the first param defined with the given flag.
Retrieve the first param defined with the given flag.
Retrieve the first param defined with the given flag .
def find_param_for_flag(flag)
      params_with(:flag).each do |param_name, param_flag|
        return param_name if flag.to_s == param_flag.to_s
      end
      nil
    end
def find_param_for_flag ( flag ) params_with ( :flag ) . each do | param_name , param_flag | return param_name if flag . to_s == param_flag . to_s end nil end
Retrieve the first param defined with the given flag.
Retrieve the first param defined with the given flag .
flag