diff options
-rwxr-xr-x | bin/pi | 3 | ||||
-rw-r--r-- | lib/puppet/application/pi.rb | 8 |
2 files changed, 9 insertions, 2 deletions
@@ -19,7 +19,7 @@ # Print this help text # # providers:: -# Describe providers in detail +# Describe providers in detail for each type # # list:: # List all types @@ -30,6 +30,7 @@ # = Example # # pi --list +# pi file --providers # # = Author # diff --git a/lib/puppet/application/pi.rb b/lib/puppet/application/pi.rb index 2d7b8d86d..84742dc16 100644 --- a/lib/puppet/application/pi.rb +++ b/lib/puppet/application/pi.rb @@ -175,7 +175,13 @@ class TypeDoc end -Puppet::Application.new(:pi) do +Puppet::Application.new(:pi,"#{$0} [options] [type]") do + + should_not_parse_config + + option("--short", "-s", "Only list parameters without detail") do |arg| + options[:parameters] = false + end option("--providers","-p") option("--list", "-l") |