mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 20:28:05 +08:00
support q to quit. close #1075
This commit is contained in:
parent
91968f18ed
commit
8ccdb43975
@ -41,7 +41,7 @@ public class ShellLineHandler implements Handler<String> {
|
||||
}
|
||||
|
||||
String name = first.value();
|
||||
if (name.equals("exit") || name.equals("logout") || name.equals("quit")) {
|
||||
if (name.equals("exit") || name.equals("logout") || name.equals("q") || name.equals("quit")) {
|
||||
handleExit();
|
||||
return;
|
||||
} else if (name.equals("jobs")) {
|
||||
|
Loading…
Reference in New Issue
Block a user