netstar pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=a1be071c4ccd129fef65b3e44764da4def1fb237
commit a1be071c4ccd129fef65b3e44764da4def1fb237 Author: Al Poole <nets...@gmail.com> Date: Tue Oct 3 14:11:50 2017 +0100 main: parsing command-line options. Exit rather than shutdown if displaying --help or --copyright etc. @fix T6115 --- src/bin/edi_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c index 62f6a26..134bf29 100644 --- a/src/bin/edi_main.c +++ b/src/bin/edi_main.c @@ -39,7 +39,7 @@ typedef struct _Edi_Panel_Slide_Effect Eina_Bool left; } Edi_Panel_Slide_Effect; -#define COPYRIGHT "Copyright © 2014-2015 Andy Williams <a...@andyilliams.me> and various contributors (see AUTHORS)." +#define COPYRIGHT "Copyright © 2014-2017 Andy Williams <a...@andyilliams.me> and various contributors (see AUTHORS)." static Evas_Object *_edi_toolbar, *_edi_leftpanes, *_edi_bottompanes; static Evas_Object *_edi_logpanel, *_edi_consolepanel, *_edi_testpanel, *_edi_searchpanel, *_edi_taskspanel, *_edi_debugpanel; @@ -1604,13 +1604,13 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) goto end; args = ecore_getopt_parse(&optdesc, values, argc, argv); - if (args < 0) + if (quit_option) { - CRIT("Could not parse arguments."); - goto end; + exit(1); } - else if (quit_option) + else if (args < 0) { + CRIT("Could not parse arguments."); goto end; } --