diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-06-01 14:15:33 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-06-01 16:27:29 -0700 |
commit | e647f70cbde1735af0710d07fc704448f5a8dcd8 (patch) | |
tree | 4ac01a6006a941ef0555177a0f3f36e7e8a042ad /lib/puppet/application/help.rb | |
parent | 796900b04e234b61a77fe4b64c006f24e15a7360 (diff) | |
download | puppet-e647f70cbde1735af0710d07fc704448f5a8dcd8.tar.gz puppet-e647f70cbde1735af0710d07fc704448f5a8dcd8.tar.xz puppet-e647f70cbde1735af0710d07fc704448f5a8dcd8.zip |
maint: remove obsolete work-around code from help face.
The application wrapper for help used to disable the inherited 'render' method
from FaceBase - specifically, to avoid the behaviour of rendering strings
poorly.
Now that we have support for good output in the upstream method, this is
unnecessary, so we can eliminate the stub method entirely and use the default
behaviour.
(This also enables rendering the help into JSON or YAML, against the odds that
someone actually cares about that. ;)
Diffstat (limited to 'lib/puppet/application/help.rb')
-rw-r--r-- | lib/puppet/application/help.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/puppet/application/help.rb b/lib/puppet/application/help.rb index 4829a2036..66baa462e 100644 --- a/lib/puppet/application/help.rb +++ b/lib/puppet/application/help.rb @@ -1,7 +1,4 @@ require 'puppet/application/face_base' class Puppet::Application::Help < Puppet::Application::FaceBase - # Meh. Disable the default behaviour, which is to inspect the - # string and return that – not so helpful. --daniel 2011-04-11 - def render(result) result end end |