Skip to content

Commit

Permalink
Add command for version printing
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeHolley committed Apr 17, 2016
1 parent de5e0fc commit 875edcf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.c
Expand Up @@ -55,7 +55,10 @@ int main(int argc, char *argv[])
}
else {

if ((strcmp("--version", argv[1]) == 0) || (strcmp("-v", argv[1]) == 0)) ERROR("0.5.5\n")
if ((strcmp("--version", argv[1]) == 0) || (strcmp("-v", argv[1]) == 0)){
printf("0.5.5\n");
exit(0);
}
else if (strcmp("build", argv[1]) == 0){

size_kmer = atoi(argv[2]); //Length k argument reading
Expand Down

0 comments on commit 875edcf

Please sign in to comment.