Skip to content

Commit

Permalink
[processing] Tweak algorithHelp formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 31, 2018
1 parent 297cfd5 commit 612d61d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/tools/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def algorithmHelp(id):
print('Input parameters')
print('----------------')
for p in alg.parameterDefinitions():
print('\n{}: <{}>'.format(p.name(), p.__class__.__name__))
if p.description():
print('\t' + p.description())
print('\n{}: {}'.format(p.name(), p.description()))

print('\n\tParameter type:\t{}'.format(p.__class__.__name__))

if isinstance(p, QgsProcessingParameterEnum):
opts = []
Expand Down

0 comments on commit 612d61d

Please sign in to comment.