From 48f3bb5beb61beb06555ceb181bb669f6d7fe242 Mon Sep 17 00:00:00 2001 From: J Smith Date: Mon, 28 Aug 2017 11:50:02 -0300 Subject: [PATCH] Add additional options for createuser --- src/_pgsql_utils | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/_pgsql_utils b/src/_pgsql_utils index 84515f1..b5d92da 100644 --- a/src/_pgsql_utils +++ b/src/_pgsql_utils @@ -392,6 +392,7 @@ _createuser () { {-d,--createdb}'[role can create new databases]' \ {-D,--no-createdb}'[role cannot create databases]' \ {-E,--encrypted}'[encrypt stored password]' \ + {-g,--role=}'[new role will be a member of this role]' \ {-i,--inherit}'[role inherits privileges of roles it is a member of (default)]' \ {-I,--no-inherit}'[role does not inherit privileges]' \ {-l,--login}'[role can login (default)]' \ @@ -401,7 +402,10 @@ _createuser () { {-r,--createrole}'[role can create new roles]' \ {-R,--no-createrole}'[role cannot create roles]' \ {-s,--superuser}'[role will be superuser]' \ - {-S,--no-superuser}'[role will not be superuser]' + {-S,--no-superuser}'[role will not be superuser]' \ + {--interactive}'[prompt for missing role name and attributes rather than using defaults]' \ + {--replication}'[role can initiate replication]' \ + {--no-replication}'[role cannot initiate replication]' \ } _dropuser () {