diff options
author | ache <ache@ache.one> | 2019-09-27 07:02:03 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2019-09-27 07:02:03 +0200 |
commit | 0e1177cb791561bda2a967d8c8dd42a1dc061cef (patch) | |
tree | 5602e4b3a356298ab033f2974085d1dbb9ea9f97 | |
parent | Search by filename (diff) |
-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"\ |