diff options
Diffstat (limited to 'src/bin/edje')
-rw-r--r-- | src/bin/edje/edje_cc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc.c b/src/bin/edje/edje_cc.c index 87e69a55a3..728e5cae47 100644 --- a/src/bin/edje/edje_cc.c +++ b/src/bin/edje/edje_cc.c | |||
@@ -115,6 +115,7 @@ main_help(void) | |||
115 | "-fastdecomp Use a faster decompression algorithm (LZ4HC) (mutually exclusive with -fastcomp)\n" | 115 | "-fastdecomp Use a faster decompression algorithm (LZ4HC) (mutually exclusive with -fastcomp)\n" |
116 | "-threads Compile the edje file using multiple parallel threads (by default)\n" | 116 | "-threads Compile the edje file using multiple parallel threads (by default)\n" |
117 | "-nothreads Compile the edje file using only the main loop\n" | 117 | "-nothreads Compile the edje file using only the main loop\n" |
118 | "-V [--version] show program version\n" | ||
118 | ,progname); | 119 | ,progname); |
119 | } | 120 | } |
120 | 121 | ||
@@ -161,6 +162,11 @@ main(int argc, char **argv) | |||
161 | main_help(); | 162 | main_help(); |
162 | exit(0); | 163 | exit(0); |
163 | } | 164 | } |
165 | else if ((!strcmp(argv[i], "-V")) || (!strcmp(argv[i], "--version"))) | ||
166 | { | ||
167 | printf("Version: %s\n", PACKAGE_VERSION); | ||
168 | exit(0); | ||
169 | } | ||
164 | else if (!strcmp(argv[i], "-v")) | 170 | else if (!strcmp(argv[i], "-v")) |
165 | { | 171 | { |
166 | eina_log_domain_level_set("edje_cc", EINA_LOG_LEVEL_INFO); | 172 | eina_log_domain_level_set("edje_cc", EINA_LOG_LEVEL_INFO); |