From 5996908ccf35b2fe5f4a7d7011246a4790eeefe7 Mon Sep 17 00:00:00 2001 From: Felipe Magno de Almeida Date: Mon, 13 Aug 2018 17:28:36 -0300 Subject: eolian-cxx: Add dummy -S parameter to be compatible with eolian variable in pkgconfig --- src/bin/eolian_cxx/eolian_cxx.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) << " -I, --in The source containing the .eo descriptions." << std::endl << " -o, --out-file The output file name. [default: .eo.hh]" << std::endl << " -n, --namespace Wrap generated code in a namespace. [Eg: efl::ecore::file]" << std::endl + << " -S Ignore" << std::endl << " -r, --recurse Recurse input directories loading .eo files." << std::endl << " -v, --version Print the version." << std::endl << " -h, --help Print this help." << std::endl; @@ -448,9 +449,10 @@ opts_get(int argc, char **argv) { "version", no_argument, nullptr, 'v' }, { "help", no_argument, nullptr, 'h' }, { "main-header", no_argument, nullptr, 'm' }, + { "S", no_argument, nullptr, 'S' }, { nullptr, 0, nullptr, 0 } }; - const char* options = "I:D:o:c::marvh"; + const char* options = "I:D:o:c::marvhS"; int c, idx; while ( (c = getopt_long(argc, argv, options, long_options, &idx)) != -1) -- cgit v1.2.1