summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-11 11:42:25 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-12 16:12:07 -0700
commit7228f580a22cc13dc66a93d81bf57a5bad80a73f (patch)
tree754f959900d29f9c1562c4d50846f2ac13804b52 /lib/puppet
parenta20810e6a822dca3a69a1abf903dfea55aa166c8 (diff)
downloadpuppet-7228f580a22cc13dc66a93d81bf57a5bad80a73f.tar.gz
puppet-7228f580a22cc13dc66a93d81bf57a5bad80a73f.tar.xz
puppet-7228f580a22cc13dc66a93d81bf57a5bad80a73f.zip
maint: finish transition of application help to return strings.
Jesse made a change, in e1191f33defcaffec5900c7122a89ca75d3a9673, to transition from printing and exiting in the help method up to returning the help data to the caller. This was part of eliminating rdoc usage from the display of help to the user. The cert application was missed, and still used the legacy "print and exit" model; this cleans that up so it matches the rest of the code. Paired-With: Matt Robinson <matt@puppetlabs.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/application/cert.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet/application/cert.rb b/lib/puppet/application/cert.rb
index cbd6fd610..c08775380 100644
--- a/lib/puppet/application/cert.rb
+++ b/lib/puppet/application/cert.rb
@@ -48,7 +48,7 @@ class Puppet::Application::Cert < Puppet::Application
end
def help
- puts <<-HELP
+ <<-HELP
puppet-cert(8) -- Manage certificates and requests
========
@@ -166,7 +166,6 @@ COPYRIGHT
Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License
HELP
- exit
end
def main