Index: hbase-shell/src/main/ruby/shell/commands.rb =================================================================== --- hbase-shell/src/main/ruby/shell/commands.rb (revision 1531503) +++ hbase-shell/src/main/ruby/shell/commands.rb (working copy) @@ -41,9 +41,11 @@ puts "ERROR: #{rootCause}" puts "Backtrace: #{rootCause.backtrace.join("\n ")}" if debug puts - puts "Here is some help for this command:" - puts help - puts + if e.kind_of?(ArgumentError) then + puts "Here is some help for this command:" + puts help + puts + end end def admin