summaryrefslogtreecommitdiffstats
path: root/lib/puppet/face/parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/face/parser.rb')
-rw-r--r--lib/puppet/face/parser.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/puppet/face/parser.rb b/lib/puppet/face/parser.rb
index e6a9503dd..8dd3efb75 100644
--- a/lib/puppet/face/parser.rb
+++ b/lib/puppet/face/parser.rb
@@ -5,11 +5,13 @@ Puppet::Face.define(:parser, '0.0.1') do
copyright "Puppet Labs", 2011
license "Apache 2 license; see COPYING"
- summary "Interact directly with the parser"
+ summary "Interact directly with the parser."
action :validate do
- summary "Validate the syntax of one or more Puppet manifests"
- description <<-EOT
+ summary "Validate the syntax of one or more Puppet manifests."
+ arguments "[<manifest>] [<manifest> ...]"
+ returns "Nothing, or the first syntax error encountered."
+ description <<-'EOT'
This action validates Puppet DSL syntax without compiling a catalog or
syncing any resources. If no manifest files are provided, it will
validate the default site manifest.