fix arthas-boot --app-name option support. #1725

This commit is contained in:
hengyunabc
2021-03-04 23:37:55 +08:00
parent a909f8f1a3
commit 978cb18f8f
@@ -520,6 +520,11 @@ public class Bootstrap {
attachArgs.add("" + bootstrap.getSessionTimeout());
}
if (bootstrap.getAppName() != null) {
attachArgs.add("-app-name");
attachArgs.add(bootstrap.getAppName());
}
if (bootstrap.getUsername() != null) {
attachArgs.add("-username");
attachArgs.add(bootstrap.getUsername());