Skip to content

Commit aaca5f4

Browse files
authored
Merge pull request #1221 from smallstep/mariano/format-error
Fix error message on step certificate inspect
2 parents fa1fc09 + 242248c commit aaca5f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/certificate/inspect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func inspectAction(ctx *cli.Context) error {
202202
return errs.InvalidFlagValue(ctx, "format", format, "text, json, pem")
203203
}
204204
if short && (format == "json" || format == "pem") {
205-
return errs.IncompatibleFlagWithFlag(ctx, "short", "format json")
205+
return errs.IncompatibleFlagWithFlag(ctx, "short", "format "+format)
206206
}
207207

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

0 commit comments

Comments
 (0)