HBASE-3924 Improve Shell's CLI help (Harsh J)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1225370 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2011-12-28 22:57:30 +00:00
parent 270122168b
commit 8f101720a2
1 changed files with 8 additions and 3 deletions

View File

@ -51,9 +51,14 @@ end
# See if there are args for this shell. If any, read and then strip from ARGV # 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' # so they don't go through to irb. Output shell 'usage' if user types '--help'
cmdline_help = <<HERE # HERE document output as shell usage cmdline_help = <<HERE # HERE document output as shell usage
HBase Shell command-line options: Usage: shell [OPTIONS] [SCRIPTFILE [ARGUMENTS]]
format Formatter for outputting results: console | html. Default: console
-d | --debug Set DEBUG log levels. --format=OPTION Formatter for outputting results.
Valid options are: console, html.
(Default: console)
-d | --debug Set DEBUG log levels.
-h | --help This help.
HERE HERE
found = [] found = []
format = 'console' format = 'console'