From a1fdcb9d474d83e3adbd249acd670b23a025dbeb Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Fri, 23 Aug 2024 09:58:46 +1000 Subject: [PATCH] Help: get_property() result var is unset if property is not set Fixes: #26152 --- Help/command/get_property.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Help/command/get_property.rst b/Help/command/get_property.rst index bd1347f994..202bfd96ec 100644 --- a/Help/command/get_property.rst +++ b/Help/command/get_property.rst @@ -91,9 +91,10 @@ It must be one of the following: Scope is unique and does not accept a name. The required ``PROPERTY`` option is immediately followed by the name of -the property to get. If the property is not set an empty value is -returned, although some properties support inheriting from a parent scope -if defined to behave that way (see :command:`define_property`). +the property to get. If the property is not set, the named ```` +will be unset in the calling scope upon return, although some properties +support inheriting from a parent scope if defined to behave that way +(see :command:`define_property`). If the ``SET`` option is given, the variable is set to a boolean value indicating whether the property has been set. If the ``DEFINED``