]> granicus.if.org Git - pdns/commitdiff
docs: fix some rm*Rule inconsistencies
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 19 Jan 2018 22:34:13 +0000 (23:34 +0100)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 19 Jan 2018 22:39:41 +0000 (23:39 +0100)
pdns/dnsdistdist/docs/rules-actions.rst

index 3f4168b4a71015dcafe5612ed3d0542d50cd3bac..9223ed97dfdc466ed1424850a303d765b5c45efe 100644 (file)
@@ -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