Skip to content

Commit

Permalink
cli error capitalization
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Ferquel <[email protected]>
  • Loading branch information
simonferquel committed Dec 17, 2018
1 parent 256446a commit 093d562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/command/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ func UserAgent() string {
// - fallbacks to default HOST, uses TLS config from flags/env vars
func resolveContextName(opts *cliflags.CommonOptions, config *configfile.ConfigFile) (string, error) {
if opts.Context != "" && len(opts.Hosts) > 0 {
return "", errors.New("conflicting options: either specify --host or --context, not bot")
return "", errors.New("Conflicting options: either specify --host or --context, not bot")
}
if opts.Context != "" {
return opts.Context, nil
Expand Down

0 comments on commit 093d562

Please sign in to comment.