diff options
-rwxr-xr-x | main.c | 3 | ||||
-rw-r--r-- | main.h | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -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': @@ -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"\ |