summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-03-29 15:34:23 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-04 10:19:53 -0700
commita113e8f03d257375bf4eb2416a6ad7e1958d7868 (patch)
tree6004a5b057caf49ac51357c7ff087ad6a7d06a56 /lib/puppet/util/rdoc/code_objects.rb
parent5bba1a26140cd3326739b00c2d60dff9321d4044 (diff)
downloadpuppet-a113e8f03d257375bf4eb2416a6ad7e1958d7868.tar.gz
puppet-a113e8f03d257375bf4eb2416a6ad7e1958d7868.tar.xz
puppet-a113e8f03d257375bf4eb2416a6ad7e1958d7868.zip
(#6749) implementing option handling in CLI string wrapper
The purpose of this is to adapt the generic option support in our strings to the command line; we adapt the generic option information to optparse, and establish our environment early in the process to ensure that we can play nice with Puppet::Application for the moment. In the process we ensure that we detect, and report, conflicts in option naming across the board. Additionally, when an option is declared with multiple aliases, we insist that either all, or none, of them take an argument. To support this we support introspecting options having an optional argument, as well as documentation and all. Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions