*** pgsql/src/bin/scripts/createuser.c 2009/01/01 17:23:55 1.40 --- pgsql/src/bin/scripts/createuser.c 2009/02/25 13:03:07 1.41 *************** *** 5,11 **** * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.39 2008/12/11 07:34:08 petere Exp $ * *------------------------------------------------------------------------- */ --- 5,11 ---- * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.40 2009/01/01 17:23:55 momjian Exp $ * *------------------------------------------------------------------------- */ *************** help(const char *progname) *** 307,328 **** printf(_("Usage:\n")); printf(_(" %s [OPTION]... [ROLENAME]\n"), progname); printf(_("\nOptions:\n")); ! printf(_(" -s, --superuser role will be superuser\n")); ! printf(_(" -S, --no-superuser role will not be superuser\n")); printf(_(" -d, --createdb role can create new databases\n")); printf(_(" -D, --no-createdb role cannot create databases\n")); ! printf(_(" -r, --createrole role can create new roles\n")); ! printf(_(" -R, --no-createrole role cannot create roles\n")); ! printf(_(" -l, --login role can login (default)\n")); ! printf(_(" -L, --no-login role cannot login\n")); printf(_(" -i, --inherit role inherits privileges of roles it is a\n" " member of (default)\n")); printf(_(" -I, --no-inherit role does not inherit privileges\n")); ! printf(_(" -c, --connection-limit=N connection limit for role (default: no limit)\n")); ! printf(_(" -P, --pwprompt assign a password to new role\n")); ! printf(_(" -E, --encrypted encrypt stored password\n")); printf(_(" -N, --unencrypted do not encrypt stored password\n")); ! printf(_(" -e, --echo show the commands being sent to the server\n")); printf(_(" --help show this help, then exit\n")); printf(_(" --version output version information, then exit\n")); printf(_("\nConnection options:\n")); --- 307,328 ---- printf(_("Usage:\n")); printf(_(" %s [OPTION]... [ROLENAME]\n"), progname); printf(_("\nOptions:\n")); ! printf(_(" -c, --connection-limit=N connection limit for role (default: no limit)\n")); printf(_(" -d, --createdb role can create new databases\n")); printf(_(" -D, --no-createdb role cannot create databases\n")); ! printf(_(" -e, --echo show the commands being sent to the server\n")); ! printf(_(" -E, --encrypted encrypt stored password\n")); printf(_(" -i, --inherit role inherits privileges of roles it is a\n" " member of (default)\n")); printf(_(" -I, --no-inherit role does not inherit privileges\n")); ! printf(_(" -l, --login role can login (default)\n")); ! printf(_(" -L, --no-login role cannot login\n")); printf(_(" -N, --unencrypted do not encrypt stored password\n")); ! printf(_(" -P, --pwprompt assign a password to new role\n")); ! printf(_(" -r, --createrole role can create new roles\n")); ! printf(_(" -R, --no-createrole role cannot create roles\n")); ! printf(_(" -s, --superuser role will be superuser\n")); ! printf(_(" -S, --no-superuser role will not be superuser\n")); printf(_(" --help show this help, then exit\n")); printf(_(" --version output version information, then exit\n")); printf(_("\nConnection options:\n")); *************** help(const char *progname) *** 330,336 **** printf(_(" -p, --port=PORT database server port\n")); printf(_(" -U, --username=USERNAME user name to connect as (not the one to create)\n")); printf(_(" -W, --password force password prompt\n")); ! printf(_("\nIf one of -s, -S, -d, -D, -r, -R and ROLENAME is not specified, you will\n" "be prompted interactively.\n")); printf(_("\nReport bugs to .\n")); } --- 330,336 ---- printf(_(" -p, --port=PORT database server port\n")); printf(_(" -U, --username=USERNAME user name to connect as (not the one to create)\n")); printf(_(" -W, --password force password prompt\n")); ! printf(_("\nIf one of -d, -D, -r, -R, -s, -S, and ROLENAME is not specified, you will\n" "be prompted interactively.\n")); printf(_("\nReport bugs to .\n")); }