mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 07:32:57 +00:00
change TelnetConsole options to '-' style
This commit is contained in:
1 parent
326cd2fe9a
commit
5b2fbf36e2
1 file changed
+2
-2
@@ -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