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:
parent
270122168b
commit
8f101720a2
|
@ -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
|
|
||||||
|
--format=OPTION Formatter for outputting results.
|
||||||
|
Valid options are: console, html.
|
||||||
|
(Default: console)
|
||||||
|
|
||||||
-d | --debug Set DEBUG log levels.
|
-d | --debug Set DEBUG log levels.
|
||||||
|
-h | --help This help.
|
||||||
HERE
|
HERE
|
||||||
found = []
|
found = []
|
||||||
format = 'console'
|
format = 'console'
|
||||||
|
|
Loading…
Reference in New Issue