Skip to content

Commit

Permalink
Update errors.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Buch <[email protected]>
  • Loading branch information
dearchap and meatballhat committed Jan 6, 2023
1 parent 1852007 commit 89ec9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (e *mutuallyExclusiveGroupRequiredFlag) Error() string {
missingFlags = append(missingFlags, strings.Join(grpString, " "))
}

return fmt.Sprintf("one of these flags needs to be provided %s", strings.Join(missingFlags, "\n"))
return fmt.Sprintf("one of these flags needs to be provided: %s", strings.Join(missingFlags, ", "))
}

// ErrorFormatter is the interface that will suitably format the error output
Expand Down

0 comments on commit 89ec9fb

Please sign in to comment.