summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-08-13 17:28:36 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-08-13 17:28:36 -0300
commit5996908ccf35b2fe5f4a7d7011246a4790eeefe7 (patch)
tree5b64cb44ed0b6d34921f00efe5950281c9bda068
parentd32364605c9f96287e8506a4a1f6df9c7107b556 (diff)
eolian-cxx: Add dummy -S parameter to be compatible with eolian variable in pkgconfigdevs/felipealmeida/makefile-examples
-rw-r--r--src/bin/eolian_cxx/eolian_cxx.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index 70527ddc27..32461a4f4f 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
@@ -420,6 +420,7 @@ _usage(const char *progname)
420 << " -I, --in <file/dir> The source containing the .eo descriptions." << std::endl 420 << " -I, --in <file/dir> The source containing the .eo descriptions." << std::endl
421 << " -o, --out-file <file> The output file name. [default: <classname>.eo.hh]" << std::endl 421 << " -o, --out-file <file> The output file name. [default: <classname>.eo.hh]" << std::endl
422 << " -n, --namespace <ns> Wrap generated code in a namespace. [Eg: efl::ecore::file]" << std::endl 422 << " -n, --namespace <ns> Wrap generated code in a namespace. [Eg: efl::ecore::file]" << std::endl
423 << " -S Ignore" << std::endl
423 << " -r, --recurse Recurse input directories loading .eo files." << std::endl 424 << " -r, --recurse Recurse input directories loading .eo files." << std::endl
424 << " -v, --version Print the version." << std::endl 425 << " -v, --version Print the version." << std::endl
425 << " -h, --help Print this help." << std::endl; 426 << " -h, --help Print this help." << std::endl;
@@ -448,9 +449,10 @@ opts_get(int argc, char **argv)
448 { "version", no_argument, nullptr, 'v' }, 449 { "version", no_argument, nullptr, 'v' },
449 { "help", no_argument, nullptr, 'h' }, 450 { "help", no_argument, nullptr, 'h' },
450 { "main-header", no_argument, nullptr, 'm' }, 451 { "main-header", no_argument, nullptr, 'm' },
452 { "S", no_argument, nullptr, 'S' },
451 { nullptr, 0, nullptr, 0 } 453 { nullptr, 0, nullptr, 0 }
452 }; 454 };
453 const char* options = "I:D:o:c::marvh"; 455 const char* options = "I:D:o:c::marvhS";
454 456
455 int c, idx; 457 int c, idx;
456 while ( (c = getopt_long(argc, argv, options, long_options, &idx)) != -1) 458 while ( (c = getopt_long(argc, argv, options, long_options, &idx)) != -1)