puppetlabs/puppet — pull request #279 by pcarlisle (2011-12-15 23:51:57+00:00)
Title: (#7428) Fix option parsing for ruby 1.9 in cert application

In Ruby 1.9 block arity is strictly enforced. This changes options created
using blocks to all take one argument. The OptionParser library handles this
correctly even if an option doesn't take arguments (giving an argument of true
if the block takes an argument).