Remove duplicated flag
@@ -19,7 +19,7 @@ type Test struct {
BundleInputArgs
Quiet bool `usage:"Just print the match and don't print the resources" short:"q"`
Group string `usage:"Cluster group to match against" short:"g"`
- ClusterName string `usage:"Cluster name to match against" short:"n"`
+ Name string `usage:"Cluster name to match against" short:"N"`
Label map[string]string `usage:"Cluster labels to match against" short:"l"`
GroupLabel map[string]string `usage:"Cluster group labels to match against" short:"L"`
Target string `usage:"Explicit target to match" short:"t"`
@@ -36,7 +36,7 @@ func (m *Test) Run(cmd *cobra.Command, args []string) error {
BaseDir: baseDir,
BundleSpec: m.File,
BundleFile: m.BundleFile,
- ClusterName: m.ClusterName,
+ ClusterName: m.Name,
ClusterGroup: m.Group,
ClusterLabels: m.Label,
ClusterGroupLabels: m.GroupLabel,
