Skip to content

Commit

Permalink
remove --verbose, set to --version to match mcx
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jul 22, 2020
1 parent 2e52966 commit cb3f3ac
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/mcx_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const char *fullopt[]={"--help","--interactive","--input","--photon","--move",
"--reflect","--bc","--debug","--devicelist","--gpu","--workload","--srcfrom0",
"--savedet","--repeat","--save2pt","--printlen","--minenergy",
"--normalize","--skipradius","--log","--listgpu","--dumpmask",
"--printgpu","--root","--optlevel","--kernel","--verbose","--compileropt",
"--printgpu","--root","--optlevel","--kernel","--version","--compileropt",
"--autopilot","--shapes","--seed","--outputformat","--maxdetphoton",
"--mediabyte","--unitinmm","--atomic","--saveexit","--saveref",
"--internalsrc","--savedetflag","--gscatter","--saveseed","--specular",
Expand Down Expand Up @@ -193,7 +193,6 @@ void mcx_initcfg(Config *cfg){
cfg->flog=stdout;
cfg->sradius=0.f;
cfg->rootpath[0]='\0';
cfg->isverbose=0;
cfg->internalsrc=0;
cfg->savedetflag=0x5;
cfg->his.savedetflag=cfg->savedetflag;
Expand Down Expand Up @@ -2639,14 +2638,14 @@ void mcx_parsecmd(int argc, char* argv[], Config *cfg){
case 'l':
issavelog=1;
break;
case 'L':
case 'L':
cfg->isgpuinfo=2;
break;
case 'I':
case 'I':
cfg->isgpuinfo=1;
break;
case 'v':
cfg->isverbose=1;
case 'v':
mcx_version(cfg);
break;
case 'V':
i=mcx_readarg(argc,argv,i,&(cfg->isspecular),"char");
Expand Down

0 comments on commit cb3f3ac

Please sign in to comment.