+1, one comment.

On 7/10/09 1:40, James Turnbull wrote:
> 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]

make that an unless and I'm completely sold :-)

>                  Puppet::Util::RDoc.rdoc(options[:outputdir], files)
>              end
>          rescue => detail


-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~---------~--~----~------------~-------~--~----~
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