mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
Optimize the hints at the beginning, when choosing a process #1024
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user