From 2caaf3a67722da7b9c03a7e18c5587511d87434a Mon Sep 17 00:00:00 2001 From: Randeep Singh Date: Tue, 9 Jan 2024 16:39:36 -0500 Subject: [PATCH] disable tab completion for execCommand #4040 --- .../src/main/java/org/apache/accumulo/shell/ShellOptionsJC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/src/main/java/org/apache/accumulo/shell/ShellOptionsJC.java b/shell/src/main/java/org/apache/accumulo/shell/ShellOptionsJC.java index 9cc547c9f1c..9ce45aade2b 100644 --- a/shell/src/main/java/org/apache/accumulo/shell/ShellOptionsJC.java +++ b/shell/src/main/java/org/apache/accumulo/shell/ShellOptionsJC.java @@ -145,7 +145,7 @@ public String getPassword() { } public boolean isTabCompletionDisabled() { - return tabCompletionDisabled; + return execCommand != null || tabCompletionDisabled; } public boolean isHelpEnabled() {