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[])
{
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<<"Options: \n\t-v for verbose. \n\t-t for max k-mer length (default=20)"<<endl;
exit(1);
......@@ -39,7 +39,7 @@ int main(int argc, char* argv[])
bool help=false;
char c;
while((c = getopt(argc,argv,"p:k:vh")) != -1)
while((c = getopt(argc,argv,"p:k:v")) != -1)
{
switch(c)
{
......@@ -59,9 +59,6 @@ int main(int argc, char* argv[])
verbose=true;
cout<<"verbose=true"<<endl;
break;
case 'h':
help=true;
break;
default:
abort();
}
......@@ -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;
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