*** empty log message ***
authorayin <ayin>
Sun, 10 Jun 2007 14:27:58 +0000 (14:27 +0000)
committerayin <ayin>
Sun, 10 Jun 2007 14:27:58 +0000 (14:27 +0000)
src/xdefaults.C

index 6ae89021b7f0a790984ddb8167c4f3c8aeb0211f..1b6177bb2ac044f7188cbdc3aa37626c6d2d4848 100644 (file)
@@ -34,6 +34,7 @@
 /* place holders used for parsing command-line options */
 #define Optflag_Reverse              1
 #define Optflag_Boolean              2
+#define Optflag_Switch               4
 
 /* monolithic option/resource structure: */
 /*
@@ -60,7 +61,7 @@
 
 /* SWCH () - `-' flag */
 #define SWCH(opt, option, flag, desc)                          \
-    { (option), (Optflag_Boolean | (flag)), -1, NULL, (opt), NULL, (desc)}
+    { (option), (Optflag_Switch | (flag)), -1, NULL, (opt), NULL, (desc)}
 
 /* convenient macros */
 #define optList_strlen(i)                                              \