We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8461c8e commit aa6277fCopy full SHA for aa6277f
cmd/cert.go
@@ -187,7 +187,7 @@ func runCert(_ context.Context, c *cli.Command) error {
187
if err != nil {
188
return fmt.Errorf("failed to write cert: %w", err)
189
}
190
- fmt.Fprintln(c.Writer, "Written cert.pem")
+ fmt.Fprintf(c.Writer, "Written cert to %s\n", c.String("out"))
191
192
keyOut, err := os.OpenFile(c.String("keyout"), os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0o600)
193
@@ -201,6 +201,6 @@ func runCert(_ context.Context, c *cli.Command) error {
201
202
return fmt.Errorf("failed to write key: %w", err)
203
204
- fmt.Fprintln(c.Writer, "Written key.pem")
+ fmt.Fprintf(c.Writer, "Written key to %s\n", c.String("keyout"))
205
return nil
206
0 commit comments