pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ekaterina Kiryanova <e.kiryanova@postgrespro.ru>
To: pgsql-docs@lists.postgresql.org
Subject: Move --interactive in createuser.sgml?
Date: Tue, 4 Jul 2023 10:58:48 +0300
Message-ID: <a7bd4e67-d503-ba4e-c2e4-2f812d413bab@postgrespro.ru> (raw)

Hello!

I noticed that the --interactive option in createuser.sgml is in the 
list of short options rather than in the list of the long ones later on.
If it makes sense to move it below, the attached patch fixes that for 
master (after --bypassrls/--no-bypassrls).
Please take a look.

-- 
Best regards,
Ekaterina Kiryanova
Technical Writer
Postgres Professional
the Russian PostgreSQL Company

Attachments:

  [text/x-patch] createuser_interactive.patch (1.6K, ../a7bd4e67-d503-ba4e-c2e4-2f812d413bab@postgrespro.ru/2-createuser_interactive.patch)
  download | inline diff:
diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml
index 5c34c62342..45fe700e85 100644
--- a/doc/src/sgml/ref/createuser.sgml
+++ b/doc/src/sgml/ref/createuser.sgml
@@ -183,20 +183,6 @@ PostgreSQL documentation
       </listitem>
      </varlistentry>
 
-     <varlistentry>
-      <term><option>--interactive</option></term>
-      <listitem>
-       <para>
-        Prompt for the user name if none is specified on the command line, and
-        also prompt for whichever of the options
-        <option>-d</option>/<option>-D</option>,
-        <option>-r</option>/<option>-R</option>,
-        <option>-s</option>/<option>-S</option> is not specified on the command
-        line.  (This was the default behavior up to PostgreSQL 9.1.)
-       </para>
-      </listitem>
-     </varlistentry>
-
      <varlistentry>
       <term><option>-l</option></term>
       <term><option>--login</option></term>
@@ -330,6 +316,20 @@ PostgreSQL documentation
       </listitem>
      </varlistentry>
 
+     <varlistentry>
+      <term><option>--interactive</option></term>
+      <listitem>
+       <para>
+        Prompt for the user name if none is specified on the command line, and
+        also prompt for whichever of the options
+        <option>-d</option>/<option>-D</option>,
+        <option>-r</option>/<option>-R</option>,
+        <option>-s</option>/<option>-S</option> is not specified on the command
+        line.  (This was the default behavior up to PostgreSQL 9.1.)
+       </para>
+      </listitem>
+     </varlistentry>
+
      <varlistentry>
       <term><option>--replication</option></term>
       <listitem>


view thread (2+ messages)  latest in thread

Message-ID: <a7bd4e67-d503-ba4e-c2e4-2f812d413bab@postgrespro.ru>
Permalink:  ../a7bd4e67-d503-ba4e-c2e4-2f812d413bab@postgrespro.ru/
Also on:    postgresql.org/message-id/a7bd4e67-d503-ba4e-c2e4-2f812d413bab@postgrespro.ru

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: e.kiryanova@postgrespro.ru, pgsql-docs@lists.postgresql.org
  Subject: Re: Move --interactive in createuser.sgml?
  In-Reply-To: <a7bd4e67-d503-ba4e-c2e4-2f812d413bab@postgrespro.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox