=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/htpasswd/htpasswd.1,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/htpasswd/htpasswd.1 2014/03/17 13:42:02 1.2 +++ src/usr.bin/htpasswd/htpasswd.1 2014/03/17 21:45:07 1.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: htpasswd.1,v 1.2 2014/03/17 13:42:02 jmc Exp $ +.\" $OpenBSD: htpasswd.1,v 1.3 2014/03/17 21:45:07 jmc Exp $ .\" .\" Copyright (c) 2014 Florian Obser .\" @@ -27,20 +27,22 @@ .Sh DESCRIPTION .Nm is used to create and update user authentication files for -.Xr nginx 8 -and other HTTP daemons. +HTTP daemons such as +.Xr nginx 8 . +.Pp .Nm prompts for a password and generates a hash using .Xr bcrypt 3 . -A line suitable for -.Xr nginx 8 +A line suitable for a password file, +such as .Ic auth_basic_user_file -is written on standard output if -.Nm -is invoked with one argument. -If invoked with two arguments the +in +.Xr nginx 8 , +is written to standard output. +If invoked with two arguments +user authentication .Ar file -user authentication file is updated. +is updated. .Sh SEE ALSO .Xr bcrypt 3 , .Xr nginx.conf 5 ,