]> granicus.if.org Git - apache/commitdiff
document the new exit code.
authorAndré Malo <nd@apache.org>
Tue, 13 May 2003 03:43:18 +0000 (03:43 +0000)
committerAndré Malo <nd@apache.org>
Tue, 13 May 2003 03:43:18 +0000 (03:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99772 13f79535-47bb-0310-9956-ffa450edef68

docs/man/htpasswd.1
docs/manual/programs/htpasswd.html.en
docs/manual/programs/htpasswd.xml

index 500b03f33f1fe68675fc488effcf3e522bef8374..05ea498088c37be18b88fd6ee43f6b244c40a738 100644 (file)
@@ -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"
  
index 7c6ba16c9372b68f137407a5c021385ddd8340e6..d48b6facfa0f1e0a0c94fb22719e24d22ada3f9b 100644 (file)
@@ -143,9 +143,10 @@ distribution.</p></li></ul></div>
     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>
index 03b8ce5fb3d96ade43284f65f62654a74404d6dc..c2fdd0d6e18b53f9d1c79604cb2076fff42d9e6f 100644 (file)
@@ -125,9 +125,10 @@ distribution.</p></seealso>
     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 @@ distribution.</p></seealso>
     character <code>:</code>.</p>
 </section>
 
-</manualpage>
\ No newline at end of file
+</manualpage>