Commit 99830c1f authored by Raquel Bromberg's avatar Raquel Bromberg

help removed from mif

parent 4456a07b
...@@ -21,7 +21,7 @@ int main(int argc, char* argv[]) ...@@ -21,7 +21,7 @@ int main(int argc, char* argv[])
{ {
if(argc<2) //path parameter is required. if(argc<2) //path parameter is required.
{ {
cout<<"Wrong use of mif program: ./mif <path to dir containing FAA and FAA_ref> <k-mer length>"<<endl; cout<<"Wrong use of mif program: ./mif <path to dir containing FAA (required) and FAA_ref (optional)> <k-mer length>"<<endl;
cout<<"For more help: ./mif -h"<<endl; cout<<"For more help: ./mif -h"<<endl;
cout<<"Options: \n\t-v for verbose. \n\t-t for max k-mer length (default=20)"<<endl; cout<<"Options: \n\t-v for verbose. \n\t-t for max k-mer length (default=20)"<<endl;
exit(1); exit(1);
...@@ -39,7 +39,7 @@ int main(int argc, char* argv[]) ...@@ -39,7 +39,7 @@ int main(int argc, char* argv[])
bool help=false; bool help=false;
char c; char c;
while((c = getopt(argc,argv,"p:k:vh")) != -1) while((c = getopt(argc,argv,"p:k:v")) != -1)
{ {
switch(c) switch(c)
{ {
...@@ -59,9 +59,6 @@ int main(int argc, char* argv[]) ...@@ -59,9 +59,6 @@ int main(int argc, char* argv[])
verbose=true; verbose=true;
cout<<"verbose=true"<<endl; cout<<"verbose=true"<<endl;
break; break;
case 'h':
help=true;
break;
default: default:
abort(); abort();
} }
...@@ -76,13 +73,6 @@ int main(int argc, char* argv[]) ...@@ -76,13 +73,6 @@ int main(int argc, char* argv[])
} }
} }
if(help)
{
cout<<"mif.cpp help:"<<endl;
//What should go here?
exit(1);
}
string path,rn; string path,rn;
u.extract_paths(path_all,path,rn); u.extract_paths(path_all,path,rn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment