Use glob_many_files.

This commit is contained in:
voussoir 2021-12-21 16:58:26 -08:00
parent 76f936a50a
commit 644b58adb1
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -24,7 +24,7 @@ def crlf(file):
def crlf_argparse(args): def crlf_argparse(args):
patterns = pipeable.input_many(args.patterns, skip_blank=True, strip=True) patterns = pipeable.input_many(args.patterns, skip_blank=True, strip=True)
files = pathclass.glob_many(patterns) files = pathclass.glob_many_files(patterns)
for file in files: for file in files:
crlf(file) crlf(file)
pipeable.stdout(file.absolute_path) pipeable.stdout(file.absolute_path)