Update error message for missing required flags (#580)
Make it so that first letter is not capitalized and rephrase to remove "have/has".
This commit is contained in:
committed by
Albert Nigmatzianov
parent
34ceca591b
commit
19e54c4a2b
@ -827,7 +827,7 @@ func (c *Command) validateRequiredFlags() error {
|
||||
})
|
||||
|
||||
if len(missingFlagNames) > 0 {
|
||||
return fmt.Errorf(`Required flag(s) "%s" have/has not been set`, strings.Join(missingFlagNames, `", "`))
|
||||
return fmt.Errorf(`required flag(s) "%s" not set`, strings.Join(missingFlagNames, `", "`))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user