HBASE-14494 Add missing commas on shell command usages

Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
Josh Elser 2015-09-26 16:58:07 -04:00 committed by Andrew Purtell
parent 76463a36f5
commit 4da3c935d4
4 changed files with 10 additions and 10 deletions

View File

@ -29,10 +29,10 @@ matching table name regular expression.
Examples: Examples:
hbase> delete_table_snapshots 'tableName' hbase> delete_table_snapshots 'tableName'
hbase> delete_table_snapshots 'tableName.*' hbase> delete_table_snapshots 'tableName.*'
hbase> delete_table_snapshots 'tableName' 'snapshotName' hbase> delete_table_snapshots 'tableName', 'snapshotName'
hbase> delete_table_snapshots 'tableName' 'snapshotName.*' hbase> delete_table_snapshots 'tableName', 'snapshotName.*'
hbase> delete_table_snapshots 'tableName.*' 'snapshotName.*' hbase> delete_table_snapshots 'tableName.*', 'snapshotName.*'
hbase> delete_table_snapshots 'ns:tableName.*' 'snapshotName.*' hbase> delete_table_snapshots 'ns:tableName.*', 'snapshotName.*'
EOF EOF
end end

View File

@ -22,7 +22,7 @@ module Shell
def help def help
return <<-EOF return <<-EOF
Grant users specific rights. Grant users specific rights.
Syntax : grant <user> <permissions> [<@namespace> [<table> [<column family> [<column qualifier>]]] Syntax : grant <user>, <permissions> [, <@namespace> [, <table> [, <column family> [, <column qualifier>]]]
permissions is either zero or more letters from the set "RWXCA". permissions is either zero or more letters from the set "RWXCA".
READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A')

View File

@ -31,10 +31,10 @@ by snapshot name.
Examples: Examples:
hbase> list_table_snapshots 'tableName' hbase> list_table_snapshots 'tableName'
hbase> list_table_snapshots 'tableName.*' hbase> list_table_snapshots 'tableName.*'
hbase> list_table_snapshots 'tableName' 'snapshotName' hbase> list_table_snapshots 'tableName', 'snapshotName'
hbase> list_table_snapshots 'tableName' 'snapshotName.*' hbase> list_table_snapshots 'tableName', 'snapshotName.*'
hbase> list_table_snapshots 'tableName.*' 'snapshotName.*' hbase> list_table_snapshots 'tableName.*', 'snapshotName.*'
hbase> list_table_snapshots 'ns:tableName.*' 'snapshotName.*' hbase> list_table_snapshots 'ns:tableName.*', 'snapshotName.*'
EOF EOF
end end

View File

@ -22,7 +22,7 @@ module Shell
def help def help
return <<-EOF return <<-EOF
Revoke a user's access rights. Revoke a user's access rights.
Syntax : revoke <user> [<@namespace> [<table> [<column family> [<column qualifier>]]]] Syntax : revoke <user> [, <@namespace> [, <table> [, <column family> [, <column qualifier>]]]]
Note: Groups and users access are revoked in the same way, but groups are prefixed with an '@' Note: Groups and users access are revoked in the same way, but groups are prefixed with an '@'
character. In the same way, tables and namespaces are specified, but namespaces are character. In the same way, tables and namespaces are specified, but namespaces are