diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-05-24 01:48:36 +0530 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-05-23 18:24:08 -0400 |
commit | 11a4cb7aad0799b17d1ec5ce0fbad971820ae75d (patch) | |
tree | f42ca18816332552fbebc9bb868df4a389dd1aa5 /docs/yaml | |
parent | 22df45a31981874310a78dde0df59a6a7c5ebb29 (diff) | |
download | meson-11a4cb7aad0799b17d1ec5ce0fbad971820ae75d.zip meson-11a4cb7aad0799b17d1ec5ce0fbad971820ae75d.tar.gz meson-11a4cb7aad0799b17d1ec5ce0fbad971820ae75d.tar.bz2 |
docs: Fix some typos in feature option examples
Diffstat (limited to 'docs/yaml')
-rw-r--r-- | docs/yaml/objects/feature.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/yaml/objects/feature.yaml b/docs/yaml/objects/feature.yaml index 9cb597b..3e37644 100644 --- a/docs/yaml/objects/feature.yaml +++ b/docs/yaml/objects/feature.yaml @@ -100,7 +100,7 @@ methods: ``` use_llvm = get_option('llvm').enable_if(with_clang).enable_if(with_llvm_libs) - dep_llvm = dependency('llvm', require : use_llvm) + dep_llvm = dependency('llvm', required: use_llvm) ``` posargs: @@ -132,7 +132,7 @@ methods: ``` use_os_feature = get_option('foo') \ .disable_if(host_machine.system() == 'darwin', error_message : 'os feature not supported on MacOS') - dep_os_feature = dependency('os_feature', require : use_os_feature) + dep_os_feature = dependency('os_feature', required: use_os_feature) ``` posargs: |