Fix targets CLI command
This commit is contained in:
1 parent
97985883df
commit
a598fdfb13
1 file changed
+1
-1
@@ -68,7 +68,7 @@ func (c *TcpCommand) Flags() *base.FlagSets {
|
||||
f := set.NewFlagSet("Command Options")
|
||||
common.PopulateCommonFlags(c.Command, f, "tcp-type target", tcpFlagsMap[c.Func])
|
||||
|
||||
for _, name := range flagsMap[c.Func] {
|
||||
for _, name := range tcpFlagsMap[c.Func] {
|
||||
switch name {
|
||||
case "default-port":
|
||||
f.StringVar(&base.StringVar{
|
||||
|
||||
Reference in new issue
Block a user