diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2019-12-19 11:05:48 -0500 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2019-12-19 14:19:39 -0500 |
commit | e5297aeca5b384634897dac3f862453a3df71c90 (patch) | |
tree | 1a1914968311dce0ce58197fb7f78524a4da72b6 /docs/markdown/snippets | |
parent | 5695dc0f1674211049b3952f8005cccc78411cdd (diff) | |
download | meson-e5297aeca5b384634897dac3f862453a3df71c90.zip meson-e5297aeca5b384634897dac3f862453a3df71c90.tar.gz meson-e5297aeca5b384634897dac3f862453a3df71c90.tar.bz2 |
summary: Change 'section' to be a kwarg instead of positional
Fixes: #6372.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/summary.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/markdown/snippets/summary.md b/docs/markdown/snippets/summary.md index c5d64fd..91b3e5d 100644 --- a/docs/markdown/snippets/summary.md +++ b/docs/markdown/snippets/summary.md @@ -6,15 +6,15 @@ summarize build configuration at the end of the build process. Example: ```meson project('My Project', version : '1.0') -summary('Directories', {'bindir': get_option('bindir'), - 'libdir': get_option('libdir'), - 'datadir': get_option('datadir'), - }) -summary('Configuration', {'Some boolean': false, - 'Another boolean': true, - 'Some string': 'Hello World', - 'A list': ['string', 1, true], - }) +summary({'bindir': get_option('bindir'), + 'libdir': get_option('libdir'), + 'datadir': get_option('datadir'), + }, section: 'Directories') +summary({'Some boolean': false, + 'Another boolean': true, + 'Some string': 'Hello World', + 'A list': ['string', 1, true], + }, section: 'Configuration') ``` Output: |