You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/03/13 00:16:56 UTC

svn commit: r1576994 - /hbase/branches/0.96/hbase-shell/src/main/ruby/shell/commands/incr.rb

Author: stack
Date: Wed Mar 12 23:16:56 2014
New Revision: 1576994

URL: http://svn.apache.org/r1576994
Log:
HBASE-10733 Shell incr command should allow last parameter (value) to be missing. As documented.

Modified:
    hbase/branches/0.96/hbase-shell/src/main/ruby/shell/commands/incr.rb

Modified: hbase/branches/0.96/hbase-shell/src/main/ruby/shell/commands/incr.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-shell/src/main/ruby/shell/commands/incr.rb?rev=1576994&r1=1576993&r2=1576994&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-shell/src/main/ruby/shell/commands/incr.rb (original)
+++ hbase/branches/0.96/hbase-shell/src/main/ruby/shell/commands/incr.rb Wed Mar 12 23:16:56 2014
@@ -40,7 +40,7 @@ t to table 't1', the corresponding comma
 EOF
       end
 
-      def command(table, row, column, value)
+      def command(table, row, column, value = nil)
         incr(table(table), row, column, value)
       end