Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed instructions on how build GRASS modules
  • Loading branch information
gioman committed Jun 24, 2014
1 parent e75206b commit 30e5747
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions python/plugins/processing/algs/grass/grass.txt
Expand Up @@ -48,7 +48,7 @@ To indicate the type of geometry, use the following values:

- A numerical value

ParameterNumericalValue|[name of GRASS parameter]|[description of parameter to show]|[min value]|[max value]|[default value]
ParameterNumber|[name of GRASS parameter]|[description of parameter to show]|[min value]|[max value]|[default value]

"None" can be used for both min and max values to indicate that there is no lower
or upper limit.
Expand All @@ -72,6 +72,12 @@ ParameterSelection|[name of GRASS parameter]|[description of parameter to show]|

Example: ParameterBoolean|-c|-c|True

- A range

ParameterRange|[name of GRASS parameter]|[description of parameter to show]|[comma separated values to limit the range]

Example: ParameterRange|from|description|0,1

- Outputs

All outputs are added with the following syntax:
Expand All @@ -85,7 +91,6 @@ The following types are available
-OutputTable
-OutputFile (for any file that is not a layer or table of a format supported by QGIS)


- Advanced parameters

to tag a parameter as "advanced", just add "*" before its declaration. For instance:
Expand Down

0 comments on commit 30e5747

Please sign in to comment.