yakov pushed a commit to branch master. http://git.enlightenment.org/tools/erigo.git/commit/?id=58a53f83d540663945f2b58dae054cd10cdc7f2c
commit 58a53f83d540663945f2b58dae054cd10cdc7f2c Author: Yakov Goldberg <[email protected]> Date: Sun Jan 18 18:26:54 2015 +0200 Disable JSON generation from CLI --- src/bin/main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/bin/main.c b/src/bin/main.c index 6d47822..ab72874 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -141,7 +141,10 @@ main(int argc, char **argv) { {"gc", no_argument, (int *) &export_format, GENERATE_C}, {"gh", no_argument, (int *) &export_format, GENERATE_H}, +/* commenting out JSON generation. */ +#if 0 {"gjson", no_argument, (int *) &export_format, GENERATE_JSON}, +#endif {"simulate", required_argument, 0, 's'}, {"output", required_argument, 0, 'o'}, {"help", no_argument, 0, 'h'}, @@ -173,12 +176,15 @@ main(int argc, char **argv) if (mode == MODE_HELP) { - printf("Usage: %s [-h/--help] [--gh|--gc|--gjson] [-s/--simulate target_name] [-o OUTFILE] filename\n", argv[0]); + printf("Usage: %s [-h/--help] [--gh|--gc] [-s/--simulate target_name] [-o OUTFILE] filename\n", argv[0]); printf(" --help/-h Print this help.\n"); printf(" --output/-o Provide output filename.\n"); printf(" --gh Generate C header file [.h]\n"); printf(" --gc Generate C source file [.c]"); +/* commenting out JSON generation. */ +#if 0 printf("\n --gjson Generate JSON project file [.egui]"); +#endif printf("\n"); printf(" --simulate/-s Target name: (Desktop, Phone, Tablet).\n"); goto end; --
