Skip to content

Commit

Permalink
Merge pull request #9497 from dotdash/tidy_recurse_docs
Browse files Browse the repository at this point in the history
tidy: Clarify meaning of numeric `recurse` values
  • Loading branch information
joshcooper authored Oct 8, 2024
2 parents 8fdde4e + 23e2b00 commit 10486dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/puppet/type/tidy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]+$/)

Expand Down

0 comments on commit 10486dd

Please sign in to comment.