From 586f5410135b21ff246f553d3429d10d58331fe6 Mon Sep 17 00:00:00 2001 From: Floris Vanderhaeghe Date: Fri, 26 Aug 2022 19:13:19 +0200 Subject: [PATCH] qgsprocess.cpp: extend documentation of command --- src/process/qgsprocess.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/process/qgsprocess.cpp b/src/process/qgsprocess.cpp index 47f0ced5875..fb1b10c936c 100644 --- a/src/process/qgsprocess.cpp +++ b/src/process/qgsprocess.cpp @@ -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(); }