code: func (o *RolloutStatusOptions) Validate() error {
  	if len(o.BuilderArgs) == 0 && cmdutil.IsFilenameSliceEmpty(o.FilenameOptions.Filenames, o.FilenameOptions.Kustomize) {
  		return fmt.Errorf("required resource not specified")
  	}
  
  	if o.Revision < 0 {
  		return fmt.Errorf("revision must be a positive integer: %v", o.Revision)
  	}
  
  	return nil
  }
docs: // Validate makes sure all the provided values for command-line options are valid