ddanielr commented on code in PR #3684:
URL: https://github.com/apache/accumulo/pull/3684#discussion_r1292637590
##########
shell/src/main/java/org/apache/accumulo/shell/Shell.java:
##########
@@ -1263,4 +1263,20 @@ public boolean hasExited() {
return exit;
}
+ /**
+ * Prompt user for yes/no using the shell prompt.
+ *
+ * @param prompt the string printed to user, with (yes|no)? appended as the
prompt.
+ * @return true if user enters y | yes.
+ */
+ public boolean yorn(final String prompt) {
Review Comment:
Switched to `confirm` as `yorn` is also very similar to `yarn`
--
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]