maedhroz commented on code in PR #4426:
URL: https://github.com/apache/cassandra/pull/4426#discussion_r2611330284


##########
src/java/org/apache/cassandra/tools/nodetool/Verify.java:
##########
@@ -89,6 +99,9 @@ public void execute(NodeProbe probe)
             System.exit(1);
         }
 
+        if (onlySai && includeSai)
+            throw new IllegalArgumentException("Cannot specify both --sai-only 
and --include-sai");

Review Comment:
   Setting `--sai-only` could implicitly set `--include-sai` I guess, but still 
might be good to reject at this level, since setting both might have been 
unintentional and we want to point that out to the user?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to