Fix some incorrect error messages.

This commit is contained in:
Chris Gavin
2020-08-06 15:03:38 +01:00
parent 282f386ced
commit 732ce15227
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func (f *PullFlags) Init(cmd *cobra.Command) {
func (f *PullFlags) Validate() Validations {
var validations Validations
if !f.HasAtLeastOneRepoFlag() {
validations = append(validations, "one of -repo-name, -repo-name-list, -repo-name-list-file must be set")
validations = append(validations, "one of --repo-name, --repo-name-list, --repo-name-list-file must be set")
}
return validations
}