ICU-11661 Add scope name in options slice for authorized-sessions (#5108)
This commit is contained in:
1 parent
390fca3306
commit
913e6d755f
1 file changed
+3
@@ -315,6 +315,9 @@ func extraFlagsHandlingFuncImpl(c *Command, _ *base.FlagSets, opts *[]targets.Op
|
||||
if strutil.StrListContains(flagsMap[c.Func], "scope-id") && c.FlagScopeId != "" {
|
||||
*opts = append(*opts, targets.WithScopeId(c.FlagScopeId))
|
||||
}
|
||||
if strutil.StrListContains(flagsMap[c.Func], "scope-name") && c.FlagScopeName != "" {
|
||||
*opts = append(*opts, targets.WithScopeName(c.FlagScopeName))
|
||||
}
|
||||
|
||||
switch c.Func {
|
||||
case "add-host-sources", "remove-host-sources":
|
||||
|
||||
Reference in new issue
Block a user