#26 new
bahuvrihi

Non-inituitive behavior for nested configs specifying longs

Reported by bahuvrihi | June 19th, 2009 @ 12:04 PM

I know I set out this behavior intentionally, but nested configs with longs specified should not be non-nested. This is because when you nest a configurable that isn't defined in-file, you get unexpected switches on the command line.

  class A
    config :key, 'value', :long => 'long'
  end
  
  class B
    nest :a, A
  end

Should make:

--a:long

Not:

--long

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Class configurations that map to the command line.

People watching this ticket

Pages