diff options
Diffstat (limited to 'lib/puppet/face/help.rb')
| -rw-r--r-- | lib/puppet/face/help.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/puppet/face/help.rb b/lib/puppet/face/help.rb index aef917447..7a382b8c9 100644 --- a/lib/puppet/face/help.rb +++ b/lib/puppet/face/help.rb @@ -7,13 +7,20 @@ Puppet::Face.define(:help, '0.0.1') do copyright "Puppet Labs", 2011 license "Apache 2 license; see COPYING" - summary "Displays help about puppet subcommands" + summary "Display Puppet help." action(:help) do summary "Display help about faces and their actions." + arguments "[<face>] [<action>]" + returns "Short help text for the specified face or action." + examples <<-'EOT' + Get help for an action: + + $ puppet help + EOT option "--version VERSION" do - summary "which version of the interface to show help for" + summary "The version of the face for which to show help." end default |
