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

This commit is contained in:
mantuliu
2020-03-27 11:22:21 +08:00
committed by hengyunabc
parent 2ff0f551b8
commit a720769778
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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()) {
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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