On 05/23/2013 11:38 AM, Jonathan Amiez wrote:
> In bin/varnishops:
>
>> @@ -58,6 +58,8 @@ until done do
>>        ui.show_percent = !ui.show_percent
>>      when /[Tt]/
>>        ui.sort_order =  ui.sort_order == :desc ? :asc : :desc
>> +    when /[Dd]/
>> +      ui.request_key = (ui.request_key == 'host') ? 'regexp' : 'host'
>
> Why use strings while there are symbols everywhere ?
>

You are right.
I never written in ruby.. I'm sorry.