Optimize the hints at the beginning, when choosing a process #1024

pull/1078/head
mantuliu 5 years ago committed by hengyunabc
parent 2ff0f551b8
commit a720769778

@ -645,7 +645,7 @@ parse_arguments()
return 1
fi
echo "Found existing java process, please choose one and hit RETURN."
echo "Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER."
index=0
suggest=1

@ -45,7 +45,7 @@ public class ProcessUtils {
return -1;
}
AnsiLog.info("Found existing java process, please choose one and hit RETURN.");
AnsiLog.info("Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER.");
// print list
int count = 1;
for (String process : processMap.values()) {

@ -9,7 +9,7 @@ Start Arthas
```bash
➜ bin git:(develop) ✗ ./as.sh
Found existing java process, please choose one and hit RETURN.
Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER.
[1]: 3088 org.jetbrains.idea.maven.server.RemoteMavenServer
* [2]: 12872 org.apache.catalina.startup.Bootstrap
[3]: 2455

@ -9,7 +9,7 @@
```bash
➜ bin git:(develop) ✗ ./as.sh
Found existing java process, please choose one and hit RETURN.
Found existing java process, please choose one and input the serial number of the process, eg: 1 . Then hit ENTER.
[1]: 3088 org.jetbrains.idea.maven.server.RemoteMavenServer
* [2]: 12872 org.apache.catalina.startup.Bootstrap
[3]: 2455

Loading…
Cancel
Save