From 7c06503e0df2264d5d5abc9f2ee091f9776088f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Tue, 13 May 2003 03:43:18 +0000 Subject: [PATCH] document the new exit code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99772 13f79535-47bb-0310-9956-ffa450edef68 --- docs/man/htpasswd.1 | 4 ++-- docs/manual/programs/htpasswd.html.en | 5 +++-- docs/manual/programs/htpasswd.xml | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/man/htpasswd.1 b/docs/man/htpasswd.1 index 500b03f33f..05ea498088 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 7c6ba16c93..d48b6facfa 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 03b8ce5fb3..c2fdd0d6e1 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 + -- 2.50.1