cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a14b6573994dd0489085505c2da64b4e9547cf43

commit a14b6573994dd0489085505c2da64b4e9547cf43
Author: Cedric Bail <[email protected]>
Date:   Fri Oct 27 15:44:21 2017 -0700

    elementary: use the new exit infrastructure to print help message.
---
 src/bin/elementary/test.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index 14fa889a66..7b47e3c01f 100644
--- a/src/bin/elementary/test.c
+++ b/src/bin/elementary/test.c
@@ -1222,13 +1222,13 @@ efl_main(void *data EINA_UNUSED,
      {
         if (!strcmp(eina_array_data_get(arge->argv, 0), "--help"))
           {
-             printf("Usages:\n"
-                    "$ elementary_test\n"
-                    "$ elementary_test --test-win-only [TEST_NAME]\n"
-                    "$ elementary_test -to [TEST_NAME]\n\n"
-                    "Examples:\n"
-                    "$ elementary_test -to Button\n\n");
-             efl_loop_quit(ev->object, 1);
+             efl_loop_quit(ev->object,
+                           eina_value_string_init("Usages:\n"
+                                                  "$ elementary_test\n"
+                                                  "$ elementary_test 
--test-win-only [TEST_NAME]\n"
+                                                  "$ elementary_test -to 
[TEST_NAME]\n\n"
+                                                  "Examples:\n"
+                                                  "$ elementary_test -to 
Button\n\n"));
              return ;
           }
         autorun = eina_array_data_get(arge->argv, 0);

-- 


Reply via email to