From: John A. Barbuto <[email protected]>

Signed-off-by: John A. Barbuto <[email protected]>
Signed-off-by: James Turnbull <[email protected]>
---
 lib/puppet/application/puppetdoc.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/puppet/application/puppetdoc.rb 
b/lib/puppet/application/puppetdoc.rb
index 45aba42..fbfdb07 100644
--- a/lib/puppet/application/puppetdoc.rb
+++ b/lib/puppet/application/puppetdoc.rb
@@ -79,6 +79,7 @@ Puppet::Application.new(:puppetdoc) do
             if @manifest
                 Puppet::Util::RDoc.manifestdoc(files)
             else
+                options[:outputdir] = "doc" if ! options[:outputdir]
                 Puppet::Util::RDoc.rdoc(options[:outputdir], files)
             end
         rescue => detail
-- 
1.6.0.6


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to