Add API/CLI for managed groups (#1265)
This commit is contained in:
1 parent
179a49657e
commit
306d4fb4d3
42 files changed
+1481
-40
No files matched your search
@@ -103,7 +103,7 @@ func (c *Command) Flags() *base.FlagSets {
|
||||
|
||||
set := c.FlagSet(base.FlagSetHTTP | base.FlagSetClient | base.FlagSetOutputFormat)
|
||||
f := set.NewFlagSet("Command Options")
|
||||
common.PopulateCommonFlags(c.Command, f, "host set", flagsMap[c.Func])
|
||||
common.PopulateCommonFlags(c.Command, f, "host set", flagsMap, c.Func)
|
||||
|
||||
extraFlagsFunc(c, set, f)
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ func (c *StaticCommand) Flags() *base.FlagSets {
|
||||
|
||||
set := c.FlagSet(base.FlagSetHTTP | base.FlagSetClient | base.FlagSetOutputFormat)
|
||||
f := set.NewFlagSet("Command Options")
|
||||
common.PopulateCommonFlags(c.Command, f, "static-type host set", flagsStaticMap[c.Func])
|
||||
common.PopulateCommonFlags(c.Command, f, "static-type host set", flagsStaticMap, c.Func)
|
||||
|
||||
extraStaticFlagsFunc(c, set, f)
|
||||
|
||||
|
||||
Reference in new issue
Block a user