Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        main.c 


Log Message:
Added "verbose" command line option.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/main.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -3 -r1.92 -r1.93
--- main.c      19 May 2004 21:41:03 -0000      1.92
+++ main.c      23 May 2004 15:58:44 -0000      1.93
@@ -154,31 +154,33 @@
             {
                no_overwrite = 1;
             }
-          else if ((!strcmp("-help", argv[j]))
-                   || (!strcmp("--help", argv[j]))
-                   || (!strcmp("-h", argv[j])) || (!strcmp("-?", argv[j])))
+          else if ((!strcmp("-h", argv[j])) || (!strcmp("-help", argv[j])) ||
+                   (!strcmp("-?", argv[j])) || (!strcmp("--help", argv[j])))
             {
-               printf("enlightenment options:                      \n"
-                      "\t-theme /path/to/theme                     \n"
+               printf("enlightenment options:\n"
+                      "\t-display display_name\n"
+                      "\t-ecachedir /path/to/cached/dir\n"
                       "\t-econfdir /path/to/.enlightenment/conf/dir\n"
-                      "\t-ecachedir /path/to/cached/dir            \n"
-                      "\t[-smid | -clientId | --sm-client-id] id   \n"
-                      "\t-smfile file                              \n"
-                      "\t-ext_init_win window_id                   \n"
-                      "\t-no_overwrite                             \n"
-                      "\t[-v | -version | --version]               \n"
-                      "\t-display display_name                     \n");
+                      "\t-ext_init_win window_id\n"
+                      "\t-no_overwrite\n"
+                      "\t-smfile file\n"
+                      "\t[-smid | -clientId | --sm-client-id] id\n"
+                      "\t-theme /path/to/theme\n"
+                      "\t[-v | -verbose]\n" "\t[-V | -version | --version]\n");
                exit(0);
             }
-          else if ((!strcmp("-v", argv[j]))
-                   || (!strcmp("-version", argv[j]))
-                   || (!strcmp("--version", argv[j]))
-                   || (!strcmp("-v", argv[j])))
+          else if ((!strcmp("-V", argv[j])) ||
+                   (!strcmp("-version", argv[j])) ||
+                   (!strcmp("--version", argv[j])))
             {
                printf(_("Enlightenment Version: %s\nLast updated on: %s\n"),
                       ENLIGHTENMENT_VERSION, E_CHECKOUT_DATE);
                exit(0);
             }
+          else if ((!strcmp("-v", argv[j])) || (!strcmp("-verbose", argv[j])))
+            {
+               Mode.debug++;
+            }
        }
 
       /* Set a default location for the "previous session" data when




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to