Skip to content

Commit ce1bf98

Browse files
committed
change conflicting endpoint error message to match original one
1 parent 0dafd5d commit ce1bf98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/src/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Examples:
5252
return cmderrors.Usage(fmt.Sprintf("invalid endpoint URL: %s", arg))
5353
}
5454
if parsed.String() != cfg.endpointURL.String() {
55-
return cmderrors.Usage(fmt.Sprintf("endpoint argument %s conflicts with configured endpoint %s", parsed, cfg.endpointURL))
55+
return cmderrors.Usage(fmt.Sprintf("The configured endpoint is %s, not %s", cfg.endpointURL, parsed))
5656
}
5757
}
5858

0 commit comments

Comments
 (0)