Add missing -p, --password description to the Usage message.

This commit is contained in:
nekral-guest 2008-02-19 21:21:52 +00:00
parent 23ac189d48
commit dc641054a1
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@
* src/groupadd.c: Add missing 'p' to the getopt_long's optstring.
* src/groupadd.c: Fix --non-unique's has_arg field to no_argument
instead of required_argument.
* src/groupadd.c: Add missing -p, --password description to the
Usage message.
2008-02-19 Nicolas François <nicolas.francois@centraliens.net>

View File

@ -115,6 +115,7 @@ static void usage (void)
" -K, --key KEY=VALUE overrides /etc/login.defs defaults\n"
" -o, --non-unique allow create group with duplicate\n"
" (non-unique) GID\n"
" -p, --password PASSWORD use encrypted password for the new group\n"
" -r, --system create a system account\n"
"\n"), stderr);
exit (E_USAGE);