qgsprocess.cpp: extend documentation of command

This commit is contained in:
Floris Vanderhaeghe 2022-08-26 19:13:19 +02:00 committed by Nyall Dawson
parent fc8bb61acd
commit 586f541013

View File

@ -544,6 +544,7 @@ void QgsProcessingExec::showUsage( const QString &appName )
<< "\t\t\tAlternatively, a '-' character in place of the parameters argument indicates that the parameters should be read from STDIN as a JSON object. The JSON should be structured as a map containing at least the \"inputs\" key specifying a map of input parameter values. This implies the --json option for output as a JSON object.\n"
<< "\t\t\tIf required, the ellipsoid to use for distance and area calculations can be specified via the \"--ELLIPSOID=name\" argument.\n"
<< "\t\t\tIf required, an existing QGIS project to use during the algorithm execution can be specified via the \"--PROJECT_PATH=path\" argument.\n";
<< "\t\t\tWhen passing parameters as a JSON object from STDIN, these extra arguments can be provided as an \"ellipsoid\" and a \"project_path\" key respectively.\n";
std::cout << msg.join( QString() ).toLocal8Bit().constData();
}