Skip to content

Commit

Permalink
add shortHelpString in script template
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtmtt authored and nyalldawson committed Mar 31, 2018
1 parent 966bb17 commit 0abd3fd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/plugins/processing/script/ScriptTemplate.py
Expand Up @@ -72,6 +72,14 @@ def groupId(self):
"""
return 'examplescripts'

def shortHelpString(self):
"""
Returns a localised short helper string for the algorithm. This string
should provide a basic description about what the algorithm does and the
parameters and outputs associated with it..
"""
return self.tr("Example algorithm short description")

def initAlgorithm(self, config=None):
"""
Here we define the inputs and output of the algorithm, along
Expand Down

0 comments on commit 0abd3fd

Please sign in to comment.