From 0e1177cb791561bda2a967d8c8dd42a1dc061cef Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 27 Sep 2019 07:02:03 +0200 Subject: Fix version --- main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main.c') 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': -- cgit v1.2.3