summaryrefslogtreecommitdiff
path: root/legacy/eet/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2008-03-28 14:37:29 +0000
committerCarsten Haitzler <raster@rasterman.com>2008-03-28 14:37:29 +0000
commit42d262f5f356888afa627d0502bad1f7c9a3aeb4 (patch)
treee24749e6cef4fa59acad5b6a8b643552a9f7a068 /legacy/eet/src/bin
parent8e386e3f7375e95c35a71b7289fa5570154a0cf2 (diff)
up eet to alpha status. see email to e-devel.
SVN revision: 34127
Diffstat (limited to 'legacy/eet/src/bin')
-rw-r--r--legacy/eet/src/bin/eet_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/legacy/eet/src/bin/eet_main.c b/legacy/eet/src/bin/eet_main.c
index 8e01f5e542..b0ad7dd0b2 100644
--- a/legacy/eet/src/bin/eet_main.c
+++ b/legacy/eet/src/bin/eet_main.c
@@ -219,6 +219,7 @@ main(int argc, char **argv)
219 eet_init(); 219 eet_init();
220 if (argc < 2) 220 if (argc < 2)
221 { 221 {
222 help:
222 printf("Usage:\n" 223 printf("Usage:\n"
223 " eet -l FILE.EET list all keys in FILE.EET\n" 224 " eet -l FILE.EET list all keys in FILE.EET\n"
224 " eet -x FILE.EET KEY OUT-FILE extract data stored in KEY in FILE.EET and write to OUT-FILE\n" 225 " 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 @@ main(int argc, char **argv)
230 eet_shutdown(); 231 eet_shutdown();
231 return 0; 232 return 0;
232 } 233 }
233 if ((!strcmp(argv[1], "-l")) && (argc > 2)) 234 if ((!strncmp(argv[1], "-h", 2)))
235 {
236 goto help;
237 }
238 else if ((!strcmp(argv[1], "-l")) && (argc > 2))
234 { 239 {
235 do_eet_list(argv[2]); 240 do_eet_list(argv[2]);
236 } 241 }