Enlightenment CVS committal Author : raster Project : e17 Module : libs/eet
Dir : e17/libs/eet/src/bin Modified Files: eet_main.c Log Message: up eet to alpha status. see email to e-devel. =================================================================== RCS file: /cvs/e/e17/libs/eet/src/bin/eet_main.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- eet_main.c 8 Sep 2007 09:35:40 -0000 1.10 +++ eet_main.c 28 Mar 2008 14:37:29 -0000 1.11 @@ -219,6 +219,7 @@ eet_init(); if (argc < 2) { + help: printf("Usage:\n" " eet -l FILE.EET list all keys in FILE.EET\n" " eet -x FILE.EET KEY OUT-FILE extract data stored in KEY in FILE.EET and write to OUT-FILE\n" @@ -230,7 +231,11 @@ eet_shutdown(); return 0; } - if ((!strcmp(argv[1], "-l")) && (argc > 2)) + if ((!strncmp(argv[1], "-h", 2))) + { + goto help; + } + else if ((!strcmp(argv[1], "-l")) && (argc > 2)) { do_eet_list(argv[2]); } ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs