From 545eaaf365fc7e60f74e4701aadbe6e4fea05f3b Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Sat, 26 Sep 2015 16:58:07 -0400 Subject: [PATCH] HBASE-14494 Add missing commas on shell command usages --- .../src/main/ruby/shell/commands/delete_table_snapshots.rb | 8 ++++---- hbase-shell/src/main/ruby/shell/commands/grant.rb | 2 +- hbase-shell/src/main/ruby/shell/commands/list_table_snapshots.rb | 8 ++++---- hbase-shell/src/main/ruby/shell/commands/revoke.rb | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) 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 686bb8e..dc4e0a2 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 c9338f4..a4e4547 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 3f8a528..3a32e9e 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 768989b..4a0d5ff 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 -- 2.1.2