Fix typo in help string Change-Id: I69232da144f0ab64c4140f68cbf150613855b38c Reviewed-on: https://gn-review.googlesource.com/c/gn/+/14220 Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
diff --git a/docs/reference.md b/docs/reference.md index ef9a324..3ebed7a 100644 --- a/docs/reference.md +++ b/docs/reference.md
@@ -34,7 +34,7 @@ * [shared_library: Declare a shared library target.](#func_shared_library) * [source_set: Declare a source set target.](#func_source_set) * [static_library: Declare a static library target.](#func_static_library) - * [target: Declare an target with the given programmatic type.](#func_target) + * [target: Declare a target with the given programmatic type.](#func_target) * [Buildfile functions](#functions) * [assert: Assert an expression is true at generation time.](#func_assert) * [config: Defines a configuration object.](#func_config) @@ -2229,7 +2229,7 @@ target containing both C and C++ sources is acceptable, but a target containing C and Rust sources is not). ``` -### <a name="func_target"></a>**target**: Declare an target with the given programmatic type. +### <a name="func_target"></a>**target**: Declare a target with the given programmatic type. ``` target(target_type_string, target_name_string) { ... }
diff --git a/src/gn/functions_target.cc b/src/gn/functions_target.cc index 8c8613c..4ca2c10 100644 --- a/src/gn/functions_target.cc +++ b/src/gn/functions_target.cc
@@ -859,9 +859,9 @@ const char kTarget[] = "target"; const char kTarget_HelpShort[] = - "target: Declare an target with the given programmatic type."; + "target: Declare a target with the given programmatic type."; const char kTarget_Help[] = - R"(target: Declare an target with the given programmatic type. + R"(target: Declare a target with the given programmatic type. target(target_type_string, target_name_string) { ... }