diff --git a/hbase-shell/src/main/ruby/shell/commands/delete_table_snapshots.rb b/hbase-shell/src/main/ruby/shell/commands/delete_table_snapshots.rb index 686bb8edba0..dc4e0a235f0 100644 --- a/hbase-shell/src/main/ruby/shell/commands/delete_table_snapshots.rb +++ b/hbase-shell/src/main/ruby/shell/commands/delete_table_snapshots.rb @@ -29,10 +29,10 @@ matching table name regular expression. Examples: 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 'ns: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.*' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/grant.rb b/hbase-shell/src/main/ruby/shell/commands/grant.rb index c9338f4b532..a4e4547d16f 100644 --- a/hbase-shell/src/main/ruby/shell/commands/grant.rb +++ b/hbase-shell/src/main/ruby/shell/commands/grant.rb @@ -22,7 +22,7 @@ module Shell def help return <<-EOF Grant users specific rights. -Syntax : grant [<@namespace> [ [ []]] +Syntax : grant , [, <@namespace> [,
[, [, ]]] permissions is either zero or more letters from the set "RWXCA". READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') diff --git a/hbase-shell/src/main/ruby/shell/commands/list_table_snapshots.rb b/hbase-shell/src/main/ruby/shell/commands/list_table_snapshots.rb index 3f8a528c398..3a32e9e3ea7 100644 --- a/hbase-shell/src/main/ruby/shell/commands/list_table_snapshots.rb +++ b/hbase-shell/src/main/ruby/shell/commands/list_table_snapshots.rb @@ -31,10 +31,10 @@ by snapshot name. Examples: 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 'ns: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.*' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/revoke.rb b/hbase-shell/src/main/ruby/shell/commands/revoke.rb index 768989b6c03..4a0d5ff62e1 100644 --- a/hbase-shell/src/main/ruby/shell/commands/revoke.rb +++ b/hbase-shell/src/main/ruby/shell/commands/revoke.rb @@ -22,7 +22,7 @@ module Shell def help return <<-EOF Revoke a user's access rights. -Syntax : revoke [<@namespace> [
[ []]]] +Syntax : revoke [, <@namespace> [,
[, [, ]]]] 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