summaryrefslogtreecommitdiff
path: root/support/htpasswd.c
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2012-12-12 12:34:55 +0000
committerRainer Jung <rjung@apache.org>2012-12-12 12:34:55 +0000
commit93bcb9c25f8d612b93c8a267bbf8f2bd3a38dd80 (patch)
treea96a15ffc01e447ed73b5f0a27ea735d55df8588 /support/htpasswd.c
parent3b6cdb0f923c3de8276f19a8113b49300946d1bd (diff)
downloadhttpd-93bcb9c25f8d612b93c8a267bbf8f2bd3a38dd80.tar.gz
htdbm:
- Add vxl to getopt - Remove "-C" from usage for -x and -l - Add space between -C and "cost" - Usage reorder and sync with htpasswd htpasswd: - Usage reorder and sync with htdbm git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1420644 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htpasswd.c')
-rw-r--r--support/htpasswd.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/support/htpasswd.c b/support/htpasswd.c
index 9175a7bc40..51219c0d96 100644
--- a/support/htpasswd.c
+++ b/support/htpasswd.c
@@ -99,17 +99,16 @@ static void usage(void)
"\thtpasswd -nb[mBdps] [-C cost] username password" NL
" -c Create a new file." NL
" -n Don't update file; display results on stdout." NL
- " -i Read password from stdin without verification (for script usage)" NL
+ " -b Use the password from the command line rather than prompting "
+ "for it." NL
+ " -i Read password from stdin without verification (for script usage)." NL
" -m Force MD5 encryption of the password (default)." NL
" -B Force bcrypt encryption of the password (very secure)." NL
" -C Set the computing time used for the bcrypt algorithm" NL
- " (higher is more secure but slower, default: %d, valid: 4 to 31)" NL
- " -d Force CRYPT encryption of the password (8 chars max, "
- "insecure)." NL
- " -p Do not encrypt the password (plaintext, insecure)." NL
+ " (higher is more secure but slower, default: %d, valid: 4 to 31)." NL
+ " -d Force CRYPT encryption of the password (8 chars max, insecure)." NL
" -s Force SHA encryption of the password (insecure)." NL
- " -b Use the password from the command line rather than prompting "
- "for it." NL
+ " -p Do not encrypt the password (plaintext, insecure)." NL
" -D Delete the specified user." NL
"On other systems than Windows and NetWare the '-p' flag will "
"probably not work." NL