mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
createuser: Disable prompting by default
Do not prompt when options were not specified. Assume --no-createdb, --no-createrole, --no-superuser by default. Also disable prompting for user name in dropdb, unless --interactive was specified. reviewed by Josh Kupershmidt
This commit is contained in:
@@ -62,7 +62,9 @@ PostgreSQL documentation
|
||||
<listitem>
|
||||
<para>
|
||||
Specifies the name of the <productname>PostgreSQL</productname> user to be removed.
|
||||
You will be prompted for a name if none is specified on the command line.
|
||||
You will be prompted for a name if none is specified on the command
|
||||
line and the <option>-i</option>/<option>--interactive</option> option
|
||||
is used.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -83,7 +85,8 @@ PostgreSQL documentation
|
||||
<term><option>--interactive</></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Prompt for confirmation before actually removing the user.
|
||||
Prompt for confirmation before actually removing the user, and prompt
|
||||
for the user name if none is specified on the command line.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Reference in New Issue
Block a user