rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=c56918913af0de248cbcf0f2e551f01584f2762b
commit c56918913af0de248cbcf0f2e551f01584f2762b Author: Vyacheslav Reutskiy <v.reuts...@samsung.com> Date: Tue Nov 29 18:18:10 2016 +0200 eflete: reorder option check for avoid skip someone Change-Id: Ic92b8015930a32099ebac45fb5515e050951d2ea --- src/bin/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/main.c b/src/bin/main.c index 6233de0..d8d8b1f 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -238,6 +238,11 @@ elm_main(int argc, char **argv) return -1; } + if (export_edj) + { + if (!eina_str_has_suffix(export_edj, ".edj")) + _ERR_EXIT(_("--export-edj value have not extension '.edj'. Wrong value.")); + } if (reopen) { if (file) @@ -340,11 +345,6 @@ elm_main(int argc, char **argv) else if (widgets) _ERR_EXIT(_("widgets can be added only to new project.")); } - if (export_edj) - { - if (!eina_str_has_suffix(export_edj, ".edj")) - _ERR_EXIT(_("--export-edj value have not extension '.edj'. Wrong value.")); - } run: if (export_edj) --