aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-08-29 14:43:12 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2013-08-29 14:43:12 -0400
commitc5607480cfca49e2302f4b0da889a3cee6fc55fb (patch)
treeeac1fba685ece13f69c7913c27af1d9b1a8b879c
parent50824f178a11861124407840e8b226acf325f86a (diff)
parse -h and --help and print out the help message
-rw-r--r--src/c/multifasta_to_otu.c1
-rw-r--r--src/c/quikr.c1
-rw-r--r--src/c/quikr_train.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/c/multifasta_to_otu.c b/src/c/multifasta_to_otu.c
index 62d9222..e04ee12 100644
--- a/src/c/multifasta_to_otu.c
+++ b/src/c/multifasta_to_otu.c
@@ -58,6 +58,7 @@ int main(int argc, char **argv) {
{"sensing-fasta", required_argument, 0, 'f'},
{"sensing-matrix", required_argument, 0, 's'},
{"verbose", no_argument, 0, 'v'},
+ {"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
{0, 0, 0, 0}
};
diff --git a/src/c/quikr.c b/src/c/quikr.c
index 942e536..8389cf4 100644
--- a/src/c/quikr.c
+++ b/src/c/quikr.c
@@ -46,6 +46,7 @@ int main(int argc, char **argv) {
{"sensing-matrix", required_argument, 0, 's'},
{"verbose", no_argument, 0, 'v'},
{"version", no_argument, 0, 'V'},
+ {"help", no_argument, 0, 'h'},
{"debug", no_argument, 0, 'd'},
{0, 0, 0, 0}
};
diff --git a/src/c/quikr_train.c b/src/c/quikr_train.c
index b5b111f..1cf6be9 100644
--- a/src/c/quikr_train.c
+++ b/src/c/quikr_train.c
@@ -36,6 +36,7 @@ int main(int argc, char **argv) {
while (1) {
static struct option long_options[] = {
{"verbose", no_argument, 0, 'v'},
+ {"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
{"input", required_argument, 0, 'i'},
{"kmer", required_argument, 0, 'k'},