ACCUMULO-4138 Fix the description of -b options

Update descriptions from (NOT) inclusive to (exclusive)


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4d23d784
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4d23d784
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4d23d784

Branch: refs/heads/1.6
Commit: 4d23d7842fe124fd5ba360c16150865160932a19
Parents: 50db442
Author: Michael Wall <mjw...@gmail.com>
Authored: Fri Feb 19 08:46:49 2016 -0500
Committer: Michael Wall <mjw...@gmail.com>
Committed: Fri Feb 19 08:46:49 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/accumulo/core/util/shell/commands/OptUtil.java | 2 +-
 .../accumulo/core/util/shell/commands/CompactCommandTest.java      | 2 +-
 .../accumulo/core/util/shell/commands/DeleteRowsCommandTest.java   | 2 +-
 .../apache/accumulo/core/util/shell/commands/FlushCommandTest.java | 2 +-
 .../apache/accumulo/core/util/shell/commands/MergeCommandTest.java | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/4d23d784/core/src/main/java/org/apache/accumulo/core/util/shell/commands/OptUtil.java
----------------------------------------------------------------------
diff --git 
a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/OptUtil.java 
b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/OptUtil.java
index 432f17a..99e09e3 100644
--- 
a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/OptUtil.java
+++ 
b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/OptUtil.java
@@ -117,7 +117,7 @@ public abstract class OptUtil {
   }
 
   public static Option startRowOpt() {
-    final Option o = new Option(START_ROW_OPT, "begin-row", true, "begin row 
(NOT) inclusive");
+    final Option o = new Option(START_ROW_OPT, "begin-row", true, "begin row 
(exclusive)");
     o.setArgName("begin-row");
     return o;
   }

http://git-wip-us.apache.org/repos/asf/accumulo/blob/4d23d784/core/src/test/java/org/apache/accumulo/core/util/shell/commands/CompactCommandTest.java
----------------------------------------------------------------------
diff --git 
a/core/src/test/java/org/apache/accumulo/core/util/shell/commands/CompactCommandTest.java
 
b/core/src/test/java/org/apache/accumulo/core/util/shell/commands/CompactCommandTest.java
index 9d553da..06554c3 100644
--- 
a/core/src/test/java/org/apache/accumulo/core/util/shell/commands/CompactCommandTest.java
+++ 
b/core/src/test/java/org/apache/accumulo/core/util/shell/commands/CompactCommandTest.java
@@ -23,7 +23,7 @@ public class CompactCommandTest {
 
   @Test
   public void testBeginRowHelp() {
-    assertTrue("-b should say it is NOT inclusive", new 
CompactCommand().getOptions().getOption("b").getDescription().contains("(NOT) 
inclusive"));
+    assertTrue("-b should say it is exclusive", new 
CompactCommand().getOptions().getOption("b").getDescription().contains("(exclusive)"));
   }
 
 }

http://git-wip-us.apache.org/repos/asf/accumulo/blob/4d23d784/core/src/test/java/org/apache/accumulo/core/util/shell/commands/DeleteRowsCommandTest.java
----------------------------------------------------------------------
diff --git 
a/core/src/test/java/org/apache/accumulo/core/util/shell/commands/DeleteRowsCommandTest.java
 
b/core/src/test/java/org/apache/accumulo/core/util/shell/commands/DeleteRowsCommandTest.java
index c601fbd..09816be 100644
--- 
a/core/src/test/java/org/apache/accumulo/core/util/shell/commands/DeleteRowsCommandTest.java
+++ 
b/core/src/test/java/org/apache/accumulo/core/util/shell/commands/DeleteRowsCommandTest.java
@@ -23,7 +23,7 @@ public class DeleteRowsCommandTest {
 
   @Test
   public void testBeginRowHelp() {
-    assertTrue("-b should say it is NOT inclusive", new 
DeleteRowsCommand().getOptions().getOption("b").getDescription().contains("(NOT)
 inclusive"));
+    assertTrue("-b should say it is exclusive", new 
DeleteRowsCommand().getOptions().getOption("b").getDescription().contains("(exclusive)"));
   }
 
 }

http://git-wip-us.apache.org/repos/asf/accumulo/blob/4d23d784/core/src/test/java/org/apache/accumulo/core/util/shell/commands/FlushCommandTest.java
----------------------------------------------------------------------
diff --git 
a/core/src/test/java/org/apache/accumulo/core/util/shell/commands/FlushCommandTest.java
 
b/core/src/test/java/org/apache/accumulo/core/util/shell/commands/FlushCommandTest.java
index 7a775eb..65a125c 100644
--- 
a/core/src/test/java/org/apache/accumulo/core/util/shell/commands/FlushCommandTest.java
+++ 
b/core/src/test/java/org/apache/accumulo/core/util/shell/commands/FlushCommandTest.java
@@ -23,7 +23,7 @@ public class FlushCommandTest {
 
   @Test
   public void testBeginRowHelp() {
-    assertTrue("-b should say it is NOT inclusive", new 
FlushCommand().getOptions().getOption("b").getDescription().contains("(NOT) 
inclusive"));
+    assertTrue("-b should say it is exclusive", new 
FlushCommand().getOptions().getOption("b").getDescription().contains("(exclusive)"));
   }
 
 }

http://git-wip-us.apache.org/repos/asf/accumulo/blob/4d23d784/core/src/test/java/org/apache/accumulo/core/util/shell/commands/MergeCommandTest.java
----------------------------------------------------------------------
diff --git 
a/core/src/test/java/org/apache/accumulo/core/util/shell/commands/MergeCommandTest.java
 
b/core/src/test/java/org/apache/accumulo/core/util/shell/commands/MergeCommandTest.java
index 3826b28..9af056b 100644
--- 
a/core/src/test/java/org/apache/accumulo/core/util/shell/commands/MergeCommandTest.java
+++ 
b/core/src/test/java/org/apache/accumulo/core/util/shell/commands/MergeCommandTest.java
@@ -23,7 +23,7 @@ public class MergeCommandTest {
 
   @Test
   public void testBeginRowHelp() {
-    assertTrue("-b should say it is NOT inclusive", new 
MergeCommand().getOptions().getOption("b").getDescription().contains("(NOT) 
inclusive"));
+    assertTrue("-b should say it is exclusive", new 
MergeCommand().getOptions().getOption("b").getDescription().contains("(exclusive)"));
   }
 
 }

Reply via email to