Skip to content

Commit

Permalink
update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Jan 29, 2024
1 parent 5d7881d commit eb7d3df
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bin/criteriaOutputTool/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@

void usage()
{
std::cout << "CriteriaOutput V1.7.1" << std::endl;
std::cout << "Shell command to manage the agro-hydrological output of CRITERIA1D-GEO"<< std::endl;
std::cout << "\nUsage:\nCriteriaOutput DTX|CSV|SHAPEFILE|MAPS|NETCDF|AGGREGATION projectName.ini [computationDate]\n" << std::endl;
std::cout << std::endl << "Usage:" << std::endl
<< "CriteriaOutput DTX|CSV|SHAPEFILE|MAPS|NETCDF|AGGREGATION projectName.ini [computationDate]" << std::endl
<< "- computationDate must be in YYYY-MM-DD format" << std::endl << std::endl;
std::cout << std::flush;
}


int main(int argc, char *argv[])
{
QCoreApplication myApp(argc, argv);
std::cout << "CriteriaOutput V1.7.2" << std::endl;
std::cout << "*** Shell command to manage the agro-hydrological output of CRITERIA1D-GEO" << std::endl;

CriteriaOutputProject myProject;

QString appPath = myApp.applicationDirPath() + "/";
Expand Down

0 comments on commit eb7d3df

Please sign in to comment.