Enlightenment CVS committal Author : englebass Project : e17 Module : libs/efreet
Dir : e17/libs/efreet/src/bin Modified Files: main.c Log Message: dump test names. =================================================================== RCS file: /cvs/e/e17/libs/efreet/src/bin/main.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- main.c 27 Apr 2007 19:57:38 -0000 1.6 +++ main.c 5 May 2007 07:37:08 -0000 1.7 @@ -1,3 +1,4 @@ +/* vim: set sw=4 ts=4 sts=4 et: */ #include "Efreet.h" #include <Ecore.h> #include <stdio.h> @@ -110,7 +111,18 @@ { run = ecore_list_new(); for (i = 1; i < argc; i++) + { + if ((!strcmp(argv[i], "-h")) || + (!strcmp(argv[i], "--help"))) + { + for (i = 0; tests[i].name != NULL; i++) + { + printf("%s\n", tests[i].name); + } + return 1; + } ecore_list_append(run, argv[i]); + } } environment_store(); ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs