nd 2003/05/12 20:43:18
Modified: docs/man htpasswd.1
docs/manual/programs htpasswd.html.en htpasswd.xml
Log:
document the new exit code.
Revision Changes Path
1.10 +2 -2 httpd-2.0/docs/man/htpasswd.1
Index: htpasswd.1
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/man/htpasswd.1,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- htpasswd.1 2 May 2003 00:58:26 -0000 1.9
+++ htpasswd.1 13 May 2003 03:43:18 -0000 1.10
@@ -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 @@
.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"
1.2 +3 -2 httpd-2.0/docs/manual/programs/htpasswd.html.en
Index: htpasswd.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/programs/htpasswd.html.en,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- htpasswd.html.en 2 May 2003 00:58:27 -0000 1.1
+++ htpasswd.html.en 13 May 2003 03:43:18 -0000 1.2
@@ -143,9 +143,10 @@
syntax problem with the command line, <code>3</code> if the password was
entered interactively and the verification entry didn't match,
<code>4</code> if its operation was interrupted, <code>5</code>
if a value
- is too long (username, filename, password, or final computed record), and
+ is too long (username, filename, password, or final computed record),
<code>6</code> if the username contains illegal characters (see the
- <a href="#restrictions">Restrictions section</a>).</p>
+ <a href="#restrictions">Restrictions section</a>), and <code>7</code>
+ if the file is not a valid password file.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
<div class="section">
<h2><a name="examples" id="examples">Examples</a></h2>
1.2 +4 -3 httpd-2.0/docs/manual/programs/htpasswd.xml
Index: htpasswd.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/programs/htpasswd.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- htpasswd.xml 2 May 2003 00:58:27 -0000 1.1
+++ htpasswd.xml 13 May 2003 03:43:18 -0000 1.2
@@ -125,9 +125,10 @@
syntax problem with the command line, <code>3</code> if the password was
entered interactively and the verification entry didn't match,
<code>4</code> if its operation was interrupted, <code>5</code>
if a value
- is too long (username, filename, password, or final computed record), and
+ is too long (username, filename, password, or final computed record),
<code>6</code> if the username contains illegal characters (see the
- <a href="#restrictions">Restrictions section</a>).</p>
+ <a href="#restrictions">Restrictions section</a>), and <code>7</code>
+ if the file is not a valid password file.</p>
</section>
<section id="examples"><title>Examples</title>
@@ -181,4 +182,4 @@
character <code>:</code>.</p>
</section>
-</manualpage>
\ No newline at end of file
+</manualpage>
|