aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-07-24 13:21:02 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-07-24 13:21:02 +0900
commit132ef5e2244067c819c6700fb3e01283f570efd8 (patch)
treefbabf314107f559622721bcde888f82283e61571 /src/bin/elementary
parentelm test - unbreak elm test ... (diff)
downloadefl-132ef5e2244067c819c6700fb3e01283f570efd8.tar.gz
elm test - expand --help to also do -h and -help
Diffstat (limited to 'src/bin/elementary')
-rw-r--r--src/bin/elementary/test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index a3e10f85fe..c6cd181ade 100644
--- a/src/bin/elementary/test.c
+++ b/src/bin/elementary/test.c
@@ -1316,7 +1316,9 @@ efl_main(void *data EINA_UNUSED,
* ex: elementary_test "Box Vert 2" */
if (eina_array_count(arge->argv) == 2)
{
- if (!strcmp(eina_array_data_get(arge->argv, 1), "--help"))
+ if ((!strcmp(eina_array_data_get(arge->argv, 1), "--help")) ||
+ (!strcmp(eina_array_data_get(arge->argv, 1), "-help")) ||
+ (!strcmp(eina_array_data_get(arge->argv, 1), "-h")))
{
efl_loop_quit(ev->object,
eina_value_string_init("Usages:\n"