summaryrefslogtreecommitdiffstats
path: root/spec/unit/rails_spec.rb
diff options
context:
space:
mode:
authorPaul Berry <paul@puppetlabs.com>2010-09-22 12:26:17 -0700
committerMarkus Roberts <Markus@reality.com>2010-09-22 21:11:32 -0700
commit4798df328526d08644ea40161dcd2c88799b57db (patch)
tree4c9dc0e18887443d195300e98fe6de4f16fc51ae /spec/unit/rails_spec.rb
parent99c1019e1d3402ec8e476dc859d5aaef82ec4f69 (diff)
downloadpuppet-4798df328526d08644ea40161dcd2c88799b57db.tar.gz
puppet-4798df328526d08644ea40161dcd2c88799b57db.tar.xz
puppet-4798df328526d08644ea40161dcd2c88799b57db.zip
Fixes #4822 -- Puppet doc -o option broken
The global "-o" option ("--onetime") was overriding the application-specific option "-o" because global options were being sent to the OptionParser after application-specific options. Modified the order in which options are sent to the OptionParser to have the correct behavior. Also merged together the two methods that were applying options so that the order is more explicit.
Diffstat (limited to 'spec/unit/rails_spec.rb')
0 files changed, 0 insertions, 0 deletions