[jira] [Updated] (HBASE-3539) Improve shell help to reflect all possible options
[ https://issues.apache.org/jira/browse/HBASE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-3539: - Fix Version/s: (was: 0.92.0) 0.90.3 Brought issue back on to TRUNK too (Usability). > Improve shell help to reflect all possible options > -- > > Key: HBASE-3539 > URL: https://issues.apache.org/jira/browse/HBASE-3539 > Project: HBase > Issue Type: Bug > Components: shell >Affects Versions: 0.90.0 >Reporter: Lars George >Assignee: Harsh J Chouraria >Priority: Trivial > Fix For: 0.90.3 > > Attachments: HBASE-3539.r1.diff > > > The shell is not consistent in its help texts. For example: > {code} > Scan a table; pass table name and optionally a dictionary of scanner > specifications. Scanner specifications may include one or more of > the following: LIMIT, STARTROW, STOPROW, TIMESTAMP, or COLUMNS. If > no columns are specified, all columns will be scanned. > {code} > but in the code you have > {code} > filter = args["FILTER"] > startrow = args["STARTROW"] || '' > stoprow = args["STOPROW"] > timestamp = args["TIMESTAMP"] > columns = args["COLUMNS"] || args["COLUMN"] || get_all_columns > cache = args["CACHE_BLOCKS"] || true > versions = args["VERSIONS"] || 1 > {code} > VERSIONS is missing from the help. > Check all commands and make sure all options are stated and examples given. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-3539) Improve shell help to reflect all possible options
[ https://issues.apache.org/jira/browse/HBASE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J Chouraria updated HBASE-3539: - Attachment: HBASE-3539.r1.diff I looked over at all commands in ruby/shell/commands/*.rb and found only 'scan' to lack what you describe. Added in a minor addition to the 'get' output as well. Docs carry a reference to HBASE-2470's patch. > Improve shell help to reflect all possible options > -- > > Key: HBASE-3539 > URL: https://issues.apache.org/jira/browse/HBASE-3539 > Project: HBase > Issue Type: Bug > Components: shell >Affects Versions: 0.90.0 >Reporter: Lars George >Priority: Trivial > Fix For: 0.92.0 > > Attachments: HBASE-3539.r1.diff > > > The shell is not consistent in its help texts. For example: > {code} > Scan a table; pass table name and optionally a dictionary of scanner > specifications. Scanner specifications may include one or more of > the following: LIMIT, STARTROW, STOPROW, TIMESTAMP, or COLUMNS. If > no columns are specified, all columns will be scanned. > {code} > but in the code you have > {code} > filter = args["FILTER"] > startrow = args["STARTROW"] || '' > stoprow = args["STOPROW"] > timestamp = args["TIMESTAMP"] > columns = args["COLUMNS"] || args["COLUMN"] || get_all_columns > cache = args["CACHE_BLOCKS"] || true > versions = args["VERSIONS"] || 1 > {code} > VERSIONS is missing from the help. > Check all commands and make sure all options are stated and examples given. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira