Skip to content

Commit

Permalink
Merge pull request #11542 from rouault/fix_11522
Browse files Browse the repository at this point in the history
'gdal' CLI: add a warning about experimental status in help message
  • Loading branch information
rouault authored Jan 6, 2025
2 parents 41951ab + 654769f commit 0b5e975
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gcore/gdalalgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2611,6 +2611,16 @@ GDALAlgorithm::GetUsageForCLI(bool shortUsage,
osRet += '\n';
}

if (!m_callPath.empty() && m_callPath[0] == "gdal")
{
osRet += "\nWARNING: the gdal command is provisionally provided as an "
"alternative interface to GDAL and OGR command line "
"utilities.\nThe project reserves the right to modify, "
"rename, reorganize, and change the behavior of the utility\n"
"until it is officially frozen in a future feature release of "
"GDAL.\n";
}

return osRet;
}

Expand Down

0 comments on commit 0b5e975

Please sign in to comment.