From c5607480cfca49e2302f4b0da889a3cee6fc55fb Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Thu, 29 Aug 2013 14:43:12 -0400 Subject: parse -h and --help and print out the help message --- src/c/multifasta_to_otu.c | 1 + src/c/quikr.c | 1 + src/c/quikr_train.c | 1 + 3 files changed, 3 insertions(+) (limited to 'src') 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'}, -- cgit v1.2.3