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)
downloadefl-devs/felipealmeida/makefile-examples.tar.gz
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)
<< " -I, --in <file/dir> The source containing the .eo descriptions." << std::endl
<< " -o, --out-file <file> The output file name. [default: <classname>.eo.hh]" << std::endl
<< " -n, --namespace <ns> 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)