OSSP CVS Repository

ossp - Check-in [2469]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2469
Date: 2002-Aug-01 17:22:58 (local)
2002-Aug-01 15:22:58 (UTC)
User:ms
Branch:
Comment: Swap magic numbers for more friendly definitions.
Tickets:
Inspections:
Files:
ossp-pkg/rc/rc_cliopt.c      1.13 -> 1.14     12 inserted, 12 deleted

ossp-pkg/rc/rc_cliopt.c 1.13 -> 1.14

--- rc_cliopt.c  2002/07/05 12:54:56     1.13
+++ rc_cliopt.c  2002/08/01 15:22:58     1.14
@@ -196,29 +196,29 @@
     switch (cliOption) {
     /* Begin concrete (digital) options */
         case RC_USE_VAL:
-            clioptSetval(cliOption, "1"); break;   /* Usage    */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Usage    */
         case RC_DBG_VAL:
-            clioptSetval(cliOption, "1"); break;   /* Debug    */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Debug    */
         case RC_VER_VAL:
-            clioptSetval(cliOption, "1"); break;   /* Version  */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Version  */
         case RC_EVL_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Eval     */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Eval     */
         case RC_HLP_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Help     */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Help     */
         case RC_INF_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Info     */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Info     */
         case RC_LBL_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Label    */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Label    */
         case RC_PRN_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Print    */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Print    */
         case RC_SIL_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Silent   */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Silent   */
         case RC_RAW_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Raw      */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Raw      */
         case RC_VRB_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Verbose  */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Verbose  */
         case RC_EXC_VAL:                                   
-            clioptSetval(cliOption, "1"); break;   /* Exec     */
+            clioptSetval(cliOption, RC_DEF_ON); break;   /* Exec     */
 
     /* Begin abstract (nondigital) options */
         case RC_LOC_VAL:

CVSTrac 2.0.1