OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_cliopt.c versions 1.11 and 1.12
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_cliopt.c 1.11 -> 1.12

--- rc_cliopt.c  2002/06/26 14:11:16     1.11
+++ rc_cliopt.c  2002/06/26 14:42:53     1.12
@@ -290,12 +290,11 @@
         }
     }
 
-    if (cliOpt < -1) {
-        /* An error occurred during option processing */
+    if (cliOpt < -1) { /* The option given was not found in the index */
         fprintf(stderr, "%s: %s\n",
                 popt_badoption(m_Optcon, POPT_BADOPTION_NOALIAS),
                 popt_strerror(cliOpt));
-        return(RC_THROW(RC_ERR_INT));
+        return(RC_THROW(RC_ERR_USE));
     }
 
     return(RC_THROW(RC_OK));

CVSTrac 2.0.1