From 23e2b007d3b0d3e2bc193fa8944aadca9f3d45af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Steinbrink?= Date: Thu, 3 Oct 2024 12:05:30 +0200 Subject: [PATCH] tidy: Clarify meaning of numeric `recurse` values --- lib/puppet/type/tidy.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/puppet/type/tidy.rb b/lib/puppet/type/tidy.rb index 48c62ac7bb8..cf0b738ab62 100644 --- a/lib/puppet/type/tidy.rb +++ b/lib/puppet/type/tidy.rb @@ -32,7 +32,9 @@ newparam(:recurse) do desc "If target is a directory, recursively descend - into the directory looking for files to tidy." + into the directory looking for files to tidy. Numeric values + specify a limit for the recursion depth, `true` means + unrestricted recursion." newvalues(:true, :false, :inf, /^[0-9]+$/)