From: André Malo Date: Tue, 13 May 2003 03:43:18 +0000 (+0000) Subject: document the new exit code. X-Git-Tag: pre_ajp_proxy~1715 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c06503e0df2264d5d5abc9f2ee091f9776088f3;p=thirdparty%2Fapache%2Fhttpd.git document the new exit code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99772 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/man/htpasswd.1 b/docs/man/htpasswd.1 index 500b03f33f1..05ea498088c 100644 --- a/docs/man/htpasswd.1 +++ b/docs/man/htpasswd.1 @@ -19,7 +19,7 @@ .el .ne 3 .IP "\\$1" \\$2 .. -.TH "HTPASSWD" 1 "2003-05-02" "Apache HTTP Server" "htpasswd" +.TH "HTPASSWD" 1 "2003-05-13" "Apache HTTP Server" "htpasswd" .SH NAME htpasswd \- Manage user files for basic authentication @@ -93,7 +93,7 @@ The plaintext password to be encrypted and stored in the file\&. Only used with .SH "EXIT STATUS" .PP -htpasswd returns a zero status ("true") if the username and password have been successfully added or updated in the \fIpasswdfile\fR\&. htpasswd returns 1 if it encounters some problem accessing files, 2 if there was a syntax problem with the command line, 3 if the password was entered interactively and the verification entry didn't match, 4 if its operation was interrupted, 5 if a value is too long (username, filename, password, or final computed record), and 6 if the username contains illegal characters (see the Restrictions section)\&. +htpasswd returns a zero status ("true") if the username and password have been successfully added or updated in the \fIpasswdfile\fR\&. htpasswd returns 1 if it encounters some problem accessing files, 2 if there was a syntax problem with the command line, 3 if the password was entered interactively and the verification entry didn't match, 4 if its operation was interrupted, 5 if a value is too long (username, filename, password, or final computed record), 6 if the username contains illegal characters (see the Restrictions section), and 7 if the file is not a valid password file\&. .SH "EXAMPLES" diff --git a/docs/manual/programs/htpasswd.html.en b/docs/manual/programs/htpasswd.html.en index 7c6ba16c937..d48b6facfa0 100644 --- a/docs/manual/programs/htpasswd.html.en +++ b/docs/manual/programs/htpasswd.html.en @@ -143,9 +143,10 @@ distribution.

syntax problem with the command line, 3 if the password was entered interactively and the verification entry didn't match, 4 if its operation was interrupted, 5 if a value - is too long (username, filename, password, or final computed record), and + is too long (username, filename, password, or final computed record), 6 if the username contains illegal characters (see the - Restrictions section).

+ Restrictions section), and 7 + if the file is not a valid password file.

top

Examples

diff --git a/docs/manual/programs/htpasswd.xml b/docs/manual/programs/htpasswd.xml index 03b8ce5fb3d..c2fdd0d6e18 100644 --- a/docs/manual/programs/htpasswd.xml +++ b/docs/manual/programs/htpasswd.xml @@ -125,9 +125,10 @@ distribution.

syntax problem with the command line, 3 if the password was entered interactively and the verification entry didn't match, 4 if its operation was interrupted, 5 if a value - is too long (username, filename, password, or final computed record), and + is too long (username, filename, password, or final computed record), 6 if the username contains illegal characters (see the - Restrictions section).

+ Restrictions section), and 7 + if the file is not a valid password file.

Examples @@ -181,4 +182,4 @@ distribution.

character :.

- \ No newline at end of file +