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:42 UTC
[2/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>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/3ef56c7b
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3ef56c7b
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3ef56c7b
Branch: refs/heads/branch-1
Commit: 3ef56c7b649ca48b32d78de95d4e2d59ba870da6
Parents: d047c37
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:05:02 2015 -0700
----------------------------------------------------------------------
.../src/main/ruby/shell/commands/delete_table_snapshots.rb | 8 ++++----
hbase-shell/src/main/ruby/shell/commands/grant.rb | 2 +-
.../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(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/3ef56c7b/hbase-shell/src/main/ruby/shell/commands/delete_table_snapshots.rb
----------------------------------------------------------------------
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
http://git-wip-us.apache.org/repos/asf/hbase/blob/3ef56c7b/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/3ef56c7b/hbase-shell/src/main/ruby/shell/commands/list_table_snapshots.rb
----------------------------------------------------------------------
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
http://git-wip-us.apache.org/repos/asf/hbase/blob/3ef56c7b/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