From dcdc32c275ed15b28c19f6f6d683e9d98ff0dab6 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Fri, 19 Jan 2018 23:34:13 +0100 Subject: [PATCH] docs: fix some rm*Rule inconsistencies --- pdns/dnsdistdist/docs/rules-actions.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pdns/dnsdistdist/docs/rules-actions.rst b/pdns/dnsdistdist/docs/rules-actions.rst index 3f4168b4a..9223ed97d 100644 --- a/pdns/dnsdistdist/docs/rules-actions.rst +++ b/pdns/dnsdistdist/docs/rules-actions.rst @@ -312,7 +312,7 @@ For Rules related to the incoming query: Move the last rule to the first position. -.. function:: rmRule(n) +.. function:: rmRule(id) .. versionchanged:: 1.3.0 ``id`` can now be an UUID. @@ -346,7 +346,7 @@ For Rules related to responses: :param int from: Rule number to move :param int to: Location to more the Rule to -.. function:: rmResponseRule(n) +.. function:: rmResponseRule(id) .. versionchanged:: 1.3.0 ``id`` can now be an UUID. @@ -403,8 +403,6 @@ Functions for manipulation Cache Hit Rules: :param int id: The UUID of the rule to remove if ``id`` is an UUID, its position otherwise - :param int n: Rule number to remove - .. function:: showCacheHitResponseRules([showUUIDs]) .. versionadded:: 1.2.0 -- 2.40.0