summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface/action.rb
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-05-26 10:07:48 -0700
committernfagerlund <nick.fagerlund@gmail.com>2011-05-26 10:07:48 -0700
commit6a1b6e0656c6b3939e48bcd2f558deb343bddb7b (patch)
treedacae5a818aa6b3e659c82ef048a59b6dcebd4a2 /lib/puppet/interface/action.rb
parentf50da8bec7280a2816d9d967152ff83a2e888374 (diff)
parent53af6f3b97af07f77cb084bad179a37d281cf8d6 (diff)
downloadpuppet-6a1b6e0656c6b3939e48bcd2f558deb343bddb7b.tar.gz
puppet-6a1b6e0656c6b3939e48bcd2f558deb343bddb7b.tar.xz
puppet-6a1b6e0656c6b3939e48bcd2f558deb343bddb7b.zip
Merge branch 'ticket/2.7.x/7561-help_for_all_faces' into 2.7.x
Diffstat (limited to 'lib/puppet/interface/action.rb')
-rw-r--r--lib/puppet/interface/action.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/interface/action.rb b/lib/puppet/interface/action.rb
index 3c377a49f..748888c2e 100644
--- a/lib/puppet/interface/action.rb
+++ b/lib/puppet/interface/action.rb
@@ -46,6 +46,7 @@ class Puppet::Interface::Action
########################################################################
# Documentation...
attr_doc :returns
+ attr_doc :arguments
def synopsis
output = PrettyPrint.format do |s|
s.text("puppet #{@face.name}")
@@ -67,6 +68,7 @@ class Puppet::Interface::Action
end
end
end
+ s.text(" #{arguments}") if arguments
end
end