aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-02-01 18:16:57 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-02-01 18:16:57 -0500
commitc9886ed211e28beb6f0f27203a28a98db7139d45 (patch)
tree17a196051982341508bee40d510d39cba251420c
parent5223964fd48f0e98510d69afa46d52931454d4e1 (diff)
add --help
-rw-r--r--kmer_total_count.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kmer_total_count.c b/kmer_total_count.c
index 0148eae..a78e8fe 100644
--- a/kmer_total_count.c
+++ b/kmer_total_count.c
@@ -80,6 +80,11 @@ int main(int argc, char **argv) {
case 'h':
help();
exit(EXIT_SUCCESS);
+ break;
+ case 'v':
+ printf("dna-utils version " VERSION "\n");
+ exit(EXIT_SUCCESS);
+ break;
default:
break;
}