diff --git a/src/main.cpp b/src/main.cpp index f608c62..500edef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,6 +23,12 @@ int main (int argc, char* argv[]) { + + if(argc==2 && strcmp(argv[1],"--version")==0 || strcmp(argv[1],"-v")==0 ){ + printf("KmerInShort version 1.0.1\n"); + return EXIT_SUCCESS; + } + try { // We run the tool with the provided command line arguments.