summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/face/help/global.erb2
-rw-r--r--lib/puppet/util/command_line.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/face/help/global.erb b/lib/puppet/face/help/global.erb
index f4c761b2b..a19ce1fb0 100644
--- a/lib/puppet/face/help/global.erb
+++ b/lib/puppet/face/help/global.erb
@@ -1,4 +1,4 @@
-puppet <subcommand> [options] <action> [options]
+Usage: puppet <subcommand> [options] <action> [options]
Available subcommands, from Puppet Faces:
% Puppet::Face.faces.sort.each do |name|
diff --git a/lib/puppet/util/command_line.rb b/lib/puppet/util/command_line.rb
index 714d03f74..daf49e8de 100644
--- a/lib/puppet/util/command_line.rb
+++ b/lib/puppet/util/command_line.rb
@@ -65,7 +65,7 @@ module Puppet
# return to the caller. How strange we are. --daniel 2011-04-11
else
unless subcommand_name.nil? then
- puts "Error: Unknown Puppet subcommand #{subcommand_name}.\n"
+ puts "Error: Unknown Puppet subcommand '#{subcommand_name}'"
end
# Doing this at the top of the file is natural, but causes puppet.rb