smiklosovic commented on code in PR #3902: URL: https://github.com/apache/cassandra/pull/3902#discussion_r1967516583
########## src/java/org/apache/cassandra/tools/nodetool/Status.java: ########## @@ -526,8 +520,10 @@ private static SortOrder parseSortOrder(String setSortOrder, PrintStream out) .collect(Collectors.joining(", ")); out.printf("%nError: Illegal value for -o/--order used: '" + setSortOrder + "'. Supported values are " + enabledValues + ".%n"); - System.exit(1); - return null; + throw ex; } } + + public enum SortByArg Review Comment: I see this enum as unused. -- 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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org