Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-1
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)