summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-13 11:48:03 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-13 11:48:37 +0200
commit2d4260020c9f28fdf572e72b9c024718e8cdc3df (patch)
tree52376d47cf48e939ee3b85d47c4e5259e907b372
parentdf14c693867a4d405b6d9fa1a4b849a54a7de37a (diff)
efl_ui_cc: error when there is a not understoof argumentHEADmaster
-rw-r--r--src/efl_ui_cc/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/efl_ui_cc/main.c b/src/efl_ui_cc/main.c
index 8bbb8e4..9dd625a 100644
--- a/src/efl_ui_cc/main.c
+++ b/src/efl_ui_cc/main.c
@@ -62,7 +62,7 @@ int main(int argc, char const *argv[])
62 { 62 {
63 beta_support = EINA_TRUE; 63 beta_support = EINA_TRUE;
64 } 64 }
65 if (!strcmp(argv[i], "-I")) 65 else if (!strcmp(argv[i], "-I"))
66 { 66 {
67 if (i + 1 >= argc - 3) 67 if (i + 1 >= argc - 3)
68 { 68 {
@@ -84,6 +84,10 @@ int main(int argc, char const *argv[])
84 } 84 }
85 } 85 }
86 } 86 }
87 else
88 {
89 printf("Not understood token : %s\n", argv[i]);
90 }
87 } 91 }
88 92
89 input_file = argv[argc - 3]; 93 input_file = argv[argc - 3];