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

Fix exit code on incorrect cmd line

parent 5ba81679
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ using namespace NEWIMAGE;
int main ( int argc, char **argv ){
if(argc<3){
cerr<<"usage:proj_thresh <lots of volumes> threshold"<<endl;
exit(0);
exit(1);
}
vector<volume<float> > tmpvec;
// vector<volume<float> > outvec;
......
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