Skip to content

Commit

Permalink
Merge pull request #1221 from smallstep/mariano/format-error
Browse files Browse the repository at this point in the history
Fix error message on step certificate inspect
  • Loading branch information
maraino authored Jun 27, 2024
2 parents fa1fc09 + 242248c commit aaca5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/certificate/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func inspectAction(ctx *cli.Context) error {
return errs.InvalidFlagValue(ctx, "format", format, "text, json, pem")
}
if short && (format == "json" || format == "pem") {
return errs.IncompatibleFlagWithFlag(ctx, "short", "format json")
return errs.IncompatibleFlagWithFlag(ctx, "short", "format "+format)
}

switch addr, isURL, err := trimURL(crtFile); {
Expand Down

0 comments on commit aaca5f4

Please sign in to comment.