Skip to content
Snippets Groups Projects
Commit 727453b6 authored by Duncan Mortimer's avatar Duncan Mortimer
Browse files

Fix to exit code on bad command line

parent 6a0e85bd
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,7 @@ int main(int argc, char** argv)
//parse command line
dtifitOptions& opts = dtifitOptions::getInstance();
int success=opts.parse_command_line(argc,argv);
if(!success) return 0;
if(!success) return 1;
if(opts.verbose.value()){
cout<<"data file "<<opts.dtidatafile.value()<<endl;
cout<<"mask file "<<opts.maskfile.value()<<endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment