hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1225370 - /hbase/trunk/bin/hirb.rb
Date Wed, 28 Dec 2011 22:57:31 GMT
Author: larsh
Date: Wed Dec 28 22:57:30 2011
New Revision: 1225370

URL: http://svn.apache.org/viewvc?rev=1225370&view=rev
Log:
HBASE-3924  Improve Shell's CLI help (Harsh J)

Modified:
    hbase/trunk/bin/hirb.rb

Modified: hbase/trunk/bin/hirb.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/hirb.rb?rev=1225370&r1=1225369&r2=1225370&view=diff
==============================================================================
--- hbase/trunk/bin/hirb.rb (original)
+++ hbase/trunk/bin/hirb.rb Wed Dec 28 22:57:30 2011
@@ -51,9 +51,14 @@ end
 # See if there are args for this shell. If any, read and then strip from ARGV
 # so they don't go through to irb.  Output shell 'usage' if user types '--help'
 cmdline_help = <<HERE # HERE document output as shell usage
-HBase Shell command-line options:
- format        Formatter for outputting results: console | html. Default: console
- -d | --debug  Set DEBUG log levels.
+Usage: shell [OPTIONS] [SCRIPTFILE [ARGUMENTS]]
+
+ --format=OPTION                Formatter for outputting results.
+                                Valid options are: console, html.
+                                (Default: console)
+
+ -d | --debug                   Set DEBUG log levels.
+ -h | --help                    This help.
 HERE
 found = []
 format = 'console'



Mime
View raw message