Skip to content
Permalink
Browse files

[processing] Include description in algorithmHelp output

  • Loading branch information
nyalldawson committed May 16, 2018
1 parent 0e831da commit 0d21bd0429d653eaa92707960386226e102374de
Showing with 4 additions and 1 deletion.
  1. +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('----------------')

0 comments on commit 0d21bd0

Please sign in to comment.
You can’t perform that action at this time.