X-Git-Url: http://dolda2000.com/gitweb/?p=mctap.git;a=blobdiff_plain;f=src%2Fmctap.c;fp=src%2Fmctap.c;h=061edd558a7a3b39ac0b41b0fe2b189edfca1070;hp=0000000000000000000000000000000000000000;hb=3415540feb47f1c379767c984620f8a7a3c4e2b1;hpb=0b26618eede5b215f03fc826ec504a8996dc8801 diff --git a/src/mctap.c b/src/mctap.c new file mode 100644 index 0000000..061edd5 --- /dev/null +++ b/src/mctap.c @@ -0,0 +1,29 @@ +#include +#include +#include +#include +#include +#include + +static void usage(FILE *out) +{ + fprintf(out, "usage: mctap [-h]\n"); +} + +int main(int argc, char **argv) +{ + int c; + + while((c = getopt(argc, argv, "-h")) >= 0) { + switch(c) { + case 'h': + usage(stdout); + return(0); + default: + usage(stderr); + exit(1); + } + } + + return(0); +}