diff options
author | Michael Paquier | 2022-07-13 23:32:18 +0000 |
---|---|---|
committer | Michael Paquier | 2022-07-13 23:32:18 +0000 |
commit | 4ca9985957881c223b4802d309c0bbbcf8acd1c1 (patch) | |
tree | 191507a8910d8efc5ba5d75f35e5df3f5bf74dcd | |
parent | a5f9f1b885a8f6bdc5b393736f1399986afdef6f (diff) |
Fix output of createuser --help with --valid-until
The argument required by --valid-until, a timestamp string, was missing
in the description of --help.
Author: Shinoda, Noriyoshi
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/DM4PR84MB1734A6CE3839A68B59BEA599EE899@DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM
-rw-r--r-- | src/bin/scripts/createuser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c index f8ff133f532..991930a1ae2 100644 --- a/src/bin/scripts/createuser.c +++ b/src/bin/scripts/createuser.c @@ -426,7 +426,8 @@ help(const char *progname) printf(_(" -R, --no-createrole role cannot create roles (default)\n")); printf(_(" -s, --superuser role will be superuser\n")); printf(_(" -S, --no-superuser role will not be superuser (default)\n")); - printf(_(" -v, --valid-until password expiration date for role\n")); + printf(_(" -v, --valid-until=TIMESTAMP\n" + " password expiration date for role\n")); printf(_(" -V, --version output version information, then exit\n")); printf(_(" --interactive prompt for missing role name and attributes rather\n" " than using defaults\n")); |