Skip to content

Commit

Permalink
tidy: Clarify meaning of numeric recurse values
Browse files Browse the repository at this point in the history
  • Loading branch information
dotdash committed Oct 3, 2024
1 parent c8684e6 commit 34f8085
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 34f8085

Please sign in to comment.