-# For testing purposes a single parameter may be specified to restrict the list
-# of files with native EOLs to just this directory (recursively) or even a
-# single file. In normal use no parameters should be given.
-my $path = $ARGV[0] // '';
-my $props = $ctx->proplist($path, undef, 1)
- or die "Failed to list properties for $path.\n";
+my $props = $ctx->proplist($root, undef, 1)
+ or die "Failed to list properties for files under $root.\n";