man: document "Delegate=" a bit more

This case is a bit surprising, even if logical if one understands how the
parser works. Let's be more explicit.

Follow-up for 7b3693e4e4.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-03-14 12:27:51 +01:00
parent 3a36d19938
commit 449172f943
2 changed files with 20 additions and 18 deletions
+4 -4
View File
@@ -3978,12 +3978,12 @@ int config_parse_delegate(
return 0;
}
/* We either accept a boolean value, which may be used to turn on delegation for all controllers, or turn it
* off for all. Or it takes a list of controller names, in which case we add the specified controllers to the
* mask to delegate. */
/* We either accept a boolean value, which may be used to turn on delegation for all controllers, or
* turn it off for all. Or it takes a list of controller names, in which case we add the specified
* controllers to the mask to delegate. Delegate= enables delegation without any controllers. */
if (isempty(rvalue)) {
/* An empty string resets controllers and set Delegate=yes. */
/* An empty string resets controllers and sets Delegate=yes. */
c->delegate = true;
c->delegate_controllers = 0;
return 0;