func (o *FilterOptions) Complete(flags *pflag.FlagSet) error {
	pattern := o.FilterByOS
	if len(pattern) == 0 && !flags.Changed("filter-by-os") {
		o.DefaultOSFilter = true
		o.FilterByOS = regexp.QuoteMeta(fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH))
	}
	return nil
}
// Complete performs defaulting by OS.
Complete performs defaulting by OS.
// Complete performs defaulting by OS .
func (o *FilterOptions) Complete(flags *pflag.FlagSet) error {
	pattern := o.FilterByOS
	if len(pattern) == 0 && !flags.Changed("filter-by-os") {
		o.DefaultOSFilter = true
		o.FilterByOS = regexp.QuoteMeta(fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH))
	}
	return nil
}
func ( o * FilterOptions ) Complete ( flags * pflag . FlagSet ) error { pattern := o . FilterByOS if len ( pattern ) == 0 && ! flags . Changed ( " " ) { o . DefaultOSFilter = true o . FilterByOS = regexp . QuoteMeta ( fmt . Sprintf ( " " , runtime . GOOS , runtime . GOARCH ) ) } return nil }
Complete performs defaulting by OS.
Complete performs defaulting by OS .