Skip to content

Commit 4ca9985

Browse files
committed
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
1 parent a5f9f1b commit 4ca9985

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/scripts/createuser.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,8 @@ help(const char *progname)
426426
printf(_(" -R, --no-createrole role cannot create roles (default)\n"));
427427
printf(_(" -s, --superuser role will be superuser\n"));
428428
printf(_(" -S, --no-superuser role will not be superuser (default)\n"));
429-
printf(_(" -v, --valid-until password expiration date for role\n"));
429+
printf(_(" -v, --valid-until=TIMESTAMP\n"
430+
" password expiration date for role\n"));
430431
printf(_(" -V, --version output version information, then exit\n"));
431432
printf(_(" --interactive prompt for missing role name and attributes rather\n"
432433
" than using defaults\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy