From 11a4cb7aad0799b17d1ec5ce0fbad971820ae75d Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 24 May 2023 01:48:36 +0530 Subject: [PATCH] docs: Fix some typos in feature option examples --- docs/yaml/objects/feature.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/yaml/objects/feature.yaml b/docs/yaml/objects/feature.yaml index 9cb597be8..3e37644f4 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: