source: issm/oecreview/Archive/13393-13976/ISSM-13618-13619.diff@ 14312

Last change on this file since 14312 was 13980, checked in by Mathieu Morlighem, 12 years ago

preparing oecreview for 13393-13976'

File size: 836 bytes
  • ../trunk-jpl/src/c/solutions/ProcessArguments.cpp

     
    1818        char *rootpath       = NULL;
    1919        char *rootpatharg    = NULL;
    2020
    21         *solution_type=StringToEnumx(argv[1]);
     21        /*Check input arguments*/
    2222        if(argc<2)_error_("Usage error: no solution requested");
    2323        if(argc<3)_error_("Usage error: missing execution directory");
    2424        if(argc<4)_error_("Usage error: missing model name");
    2525
     26        /*Get requested solution*/
     27        *solution_type=StringToEnumx(argv[1]);
     28
    2629        rootpatharg=argv[2];
    2730        if(strcmp(strstr(rootpatharg,"/"),"/")!=0){
    2831                rootpath       = xNew<char>(strlen(rootpatharg)+2); sprintf(rootpath,"%s/",rootpatharg);
Note: See TracBrowser for help on using the repository browser.