mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
change TelnetConsole options to '-' style
This commit is contained in:
@@ -60,7 +60,7 @@ public class TelnetConsole {
|
||||
private Integer width = null;
|
||||
private Integer height = null;
|
||||
|
||||
@Argument(argName = "targetIp", index = 0, required = false)
|
||||
@Argument(argName = "target-ip", index = 0, required = false)
|
||||
@Description("Target ip")
|
||||
public void setTargetIp(String targetIp) {
|
||||
this.targetIp = targetIp;
|
||||
@@ -84,7 +84,7 @@ public class TelnetConsole {
|
||||
this.command = command;
|
||||
}
|
||||
|
||||
@Option(shortName = "f", longName = "batchFile")
|
||||
@Option(shortName = "f", longName = "batch-file")
|
||||
@Description("The batch file to execute")
|
||||
public void setBatchFile(String batchFile) {
|
||||
this.batchFile = batchFile;
|
||||
|
||||
Reference in New Issue
Block a user