1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-10 14:10:46 +01:00

directly exit when using '--help' option

This commit is contained in:
Antonin Portelli 2016-05-01 16:05:16 -07:00
parent cc1d9eb05b
commit e99ce0875f

View File

@ -190,6 +190,7 @@ void Grid_init(int *argc,char ***argv)
std::cout<<GridLogMessage<<"--omp n : default number of OMP threads"<<std::endl;
std::cout<<GridLogMessage<<"--grid n.n.n.n : default Grid size"<<std::endl;
std::cout<<GridLogMessage<<"--log list : comma separted list of streams from Error,Warning,Message,Performance,Iterative,Integrator,Debug"<<std::endl;
exit(EXIT_SUCCESS);
}
if( GridCmdOptionExists(*argv,*argv+*argc,"--log") ){