Fix targets CLI command

This commit is contained in:
Jeff Mitchell committed 2020-09-15 02:09:07 -04:00
1 parent 97985883df
commit a598fdfb13
1 file changed
+1 -1
+1 -1
View File
@@ -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{