simple grammar fix

This commit is contained in:
Sebastian Sterk 2022-02-02 00:02:11 +01:00 committed by GitHub
parent bf4e43b736
commit 5e286470fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ func (o *ViewOptions) Complete(cmd *cobra.Command, args []string) error {
// Validate makes sure that provided values for command-line options are valid // Validate makes sure that provided values for command-line options are valid
func (o ViewOptions) Validate() error { func (o ViewOptions) Validate() error {
if !o.Merge.Value() && !o.ConfigAccess.IsExplicitFile() { if !o.Merge.Value() && !o.ConfigAccess.IsExplicitFile() {
return errors.New("if merge==false a precise file must to specified") return errors.New("if merge==false a precise file must be specified")
} }
return nil return nil