source:
issm/oecreview/Archive/13393-13976/ISSM-13618-13619.diff@
14312
Last change on this file since 14312 was 13980, checked in by , 12 years ago | |
---|---|
File size: 836 bytes |
-
../trunk-jpl/src/c/solutions/ProcessArguments.cpp
18 18 char *rootpath = NULL; 19 19 char *rootpatharg = NULL; 20 20 21 *solution_type=StringToEnumx(argv[1]);21 /*Check input arguments*/ 22 22 if(argc<2)_error_("Usage error: no solution requested"); 23 23 if(argc<3)_error_("Usage error: missing execution directory"); 24 24 if(argc<4)_error_("Usage error: missing model name"); 25 25 26 /*Get requested solution*/ 27 *solution_type=StringToEnumx(argv[1]); 28 26 29 rootpatharg=argv[2]; 27 30 if(strcmp(strstr(rootpatharg,"/"),"/")!=0){ 28 31 rootpath = xNew<char>(strlen(rootpatharg)+2); sprintf(rootpath,"%s/",rootpatharg);
Note:
See TracBrowser
for help on using the repository browser.