diff --git a/hbase-shell/src/main/ruby/shell/commands/grant.rb b/hbase-shell/src/main/ruby/shell/commands/grant.rb index 956489a..b5ee4ab 100644 --- a/hbase-shell/src/main/ruby/shell/commands/grant.rb +++ b/hbase-shell/src/main/ruby/shell/commands/grant.rb @@ -22,13 +22,14 @@ module Shell def help <<-EOF Grant users specific rights. -Syntax : grant , [, <@namespace> [, [, [, ]]] +Syntax: grant , [,
[, [, ]]] +Syntax: grant , , <@namespace> permissions is either zero or more letters from the set "RWXCA". READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') Note: Groups and users are granted access in the same way, but groups are prefixed with an '@' - character. In the same way, tables and namespaces are specified, but namespaces are + character. Tables and namespaces are specified the same way, but namespaces are prefixed with an '@' character. For example: diff --git a/hbase-shell/src/main/ruby/shell/commands/revoke.rb b/hbase-shell/src/main/ruby/shell/commands/revoke.rb index 3f4963d..4742bd7 100644 --- a/hbase-shell/src/main/ruby/shell/commands/revoke.rb +++ b/hbase-shell/src/main/ruby/shell/commands/revoke.rb @@ -22,10 +22,11 @@ module Shell def help <<-EOF Revoke a user's access rights. -Syntax : revoke [, <@namespace> [,
[, [, ]]]] +Syntax: revoke [,
[, [, ]]] +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 + character. Tables and namespaces are specified the same way, but namespaces are prefixed with an '@' character. For example: