You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2015/10/01 21:06:44 UTC
[4/6] hbase git commit: HBASE-14494 Add missing commas on shell
command usages
HBASE-14494 Add missing commas on shell command usages
Signed-off-by: Andrew Purtell <ap...@apache.org>
Conflicts:
hbase-shell/src/main/ruby/shell/commands/delete_table_snapshots.rb
hbase-shell/src/main/ruby/shell/commands/list_table_snapshots.rb
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c04bc960
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c04bc960
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c04bc960
Branch: refs/heads/branch-1.1
Commit: c04bc960a69e2b2a94f6a2dec60ae3093e60b449
Parents: ea00aed
Author: Josh Elser <el...@apache.org>
Authored: Sat Sep 26 16:58:07 2015 -0400
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Oct 1 12:06:05 2015 -0700
----------------------------------------------------------------------
hbase-shell/src/main/ruby/shell/commands/grant.rb | 2 +-
hbase-shell/src/main/ruby/shell/commands/revoke.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/c04bc960/hbase-shell/src/main/ruby/shell/commands/grant.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/shell/commands/grant.rb b/hbase-shell/src/main/ruby/shell/commands/grant.rb
index 4a995ff..7880026 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 <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".
READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A')
http://git-wip-us.apache.org/repos/asf/hbase/blob/c04bc960/hbase-shell/src/main/ruby/shell/commands/revoke.rb
----------------------------------------------------------------------
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 <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 '@'
character. In the same way, tables and namespaces are specified, but namespaces are