From: Chris Hofstaedtler Date: Fri, 19 Jan 2018 22:34:13 +0000 (+0100) Subject: docs: fix some rm*Rule inconsistencies X-Git-Tag: dnsdist-1.3.0~144^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dcdc32c275ed15b28c19f6f6d683e9d98ff0dab6;p=pdns docs: fix some rm*Rule inconsistencies --- 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