Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[processing] Include description in algorithmHelp output
- Loading branch information
Showing
with
4 additions
and
1 deletion.
-
+4
−1
python/plugins/processing/tools/general.py
|
@@ -49,7 +49,10 @@ def algorithmHelp(id): |
|
|
alg = QgsApplication.processingRegistry().algorithmById(id) |
|
|
if alg is not None: |
|
|
print('{} ({})\n'.format(alg.displayName(), alg.id())) |
|
|
print(alg.shortHelpString()) |
|
|
if alg.shortDescription(): |
|
|
print(alg.shortDescription() + '\n') |
|
|
if alg.shortHelpString(): |
|
|
print(alg.shortHelpString() + '\n') |
|
|
print('\n----------------') |
|
|
print('Input parameters') |
|
|
print('----------------') |
|
|