Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_start_main.c Log Message: provide -h for e_start =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_start_main.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- e_start_main.c 23 Oct 2006 13:49:06 -0000 1.7 +++ e_start_main.c 23 Oct 2006 13:57:47 -0000 1.8 @@ -342,6 +342,17 @@ for (i = 1; i < argc; i++) { if (!strcmp(argv[i], "-no-precache")) do_precache = 0; + else if ((!strcmp(argv[i], "-h")) || + (!strcmp(argv[i], "-help")) || + (!strcmp(argv[i], "--help"))) + { + printf + ("Options:\n" + "\t-no-precache\n" + "\t\tDisable pre-caching of files\n" + ); + exit(0); + } } while (do_precache) { @@ -364,6 +375,7 @@ func = dlsym(lib, "eet_init"); if (!func) break; /* precache SHOULD work */ + printf("E PRECACHE ENABLED\n"); snprintf(buf, sizeof(buf), "%s/lib/enlightenment/preload/e_precache.so", _prefix_path); env_set("LD_PRELOAD", buf); precache(); ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs