From c9cd235af4b58b169c30fa497f0adae4e69c5f4c Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Mon, 25 May 2020 10:25:50 +0200 Subject: opts: added docs --- docs/markdown/Build-options.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown/Build-options.md') diff --git a/docs/markdown/Build-options.md b/docs/markdown/Build-options.md index 2d53e287b..429b9b2ca 100644 --- a/docs/markdown/Build-options.md +++ b/docs/markdown/Build-options.md @@ -20,6 +20,9 @@ option('integer_opt', type : 'integer', min : 0, max : 5, value : 3) # Since 0.4 option('free_array_opt', type : 'array', value : ['one', 'two']) # Since 0.44.0 option('array_opt', type : 'array', choices : ['one', 'two', 'three'], value : ['one', 'two']) option('some_feature', type : 'feature', value : 'enabled') # Since 0.47.0 +option('long_desc', type : 'string', value : 'optval', + description : 'An option with a very long description' + + 'that does something in a specific context') # Since 0.55.0 ``` For built-in options, see [Built-in options][builtin_opts]. -- cgit v1.2.3