[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:33:22 UTC 2010


The following commit has been merged in the upstream branch:
commit 009629fe9f4d53882c819a0039ed873193917a32
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Fri Apr 30 16:39:08 2010 -0700

    Feature #2276 Single Executable: usage message
    
    The usage message should show the single-executable variant of commands.
    
    Signed-off-by: Jesse Wolfe <jes5199 at gmail.com>

diff --git a/lib/puppet/application.rb b/lib/puppet/application.rb
index c0bfe8f..550e4be 100644
--- a/lib/puppet/application.rb
+++ b/lib/puppet/application.rb
@@ -312,7 +312,7 @@ class Puppet::Application
             self.option_parser.parse!
         rescue OptionParser::ParseError => detail
             $stderr.puts detail
-            $stderr.puts "Try '#{$0} --help'"
+            $stderr.puts "Try 'puppet #{command_line.subcommand_name} --help'"
             exit(1)
         end
     end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list