aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmain.c3
-rw-r--r--main.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/main.c b/main.c
index 70c007f..f00321a 100755
--- a/main.c
+++ b/main.c
@@ -155,9 +155,8 @@ int main(int argc, char* argv[]){
switch (c) {
case 'v':
- if( !strcmp(optlv[optIndex].name, "version") ) {
puts( VERSION_METAG );
- }
+ return EXIT_SUCCESS;
break;
case 'h':
diff --git a/main.h b/main.h
index 67a28ff..a48572e 100644
--- a/main.h
+++ b/main.h
@@ -75,7 +75,7 @@ void fail_exit(const char *msg);
_a > _b ? _a : _b; })
-#define VERSION_METAG "Alpha"
+#define VERSION_METAG "0.2"
#define HELP_STRING_METAG "Utilisation : metag [OPTION]..." "\n"\
"Editeur de tag mp3" "\n"\
"Options :" "\n"\