Skip to content

Commit 612d61d

Browse files
committed
[processing] Tweak algorithHelp formatting
1 parent 297cfd5 commit 612d61d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/plugins/processing/tools/general.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ def algorithmHelp(id):
5757
print('Input parameters')
5858
print('----------------')
5959
for p in alg.parameterDefinitions():
60-
print('\n{}: <{}>'.format(p.name(), p.__class__.__name__))
61-
if p.description():
62-
print('\t' + p.description())
60+
print('\n{}: {}'.format(p.name(), p.description()))
61+
62+
print('\n\tParameter type:\t{}'.format(p.__class__.__name__))
6363

6464
if isinstance(p, QgsProcessingParameterEnum):
6565
opts = []

0 commit comments

Comments
 (0)