unknown option --subject

Started by PG Bug reporting formabout 2 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/auth-pg-hba-conf.html
Description:

Hello.
On this page this command does not work
`openssl x509 -in myclient.crt -noout --subject -nameopt RFC2253`
unknown option --subject

We should use only one dash `-subject`

#2Daniel Gustafsson
daniel@yesql.se
In reply to: PG Bug reporting form (#1)
Re: unknown option --subject

On 31 Jan 2024, at 18:21, PG Doc comments form <noreply@postgresql.org> wrote:

On this page this command does not work
`openssl x509 -in myclient.crt -noout --subject -nameopt RFC2253`
unknown option --subject

We should use only one dash `-subject`

That's correct, it should be a single dash. Thanks for the report, I'll fix
this backpatched down to 14 where it was introduced.

--
Daniel Gustafsson