Use pipeable.input_many.
This commit is contained in:
parent
0f2dc36a6b
commit
e696dfaf77
1 changed files with 1 additions and 1 deletions
2
touch.py
2
touch.py
|
@ -9,7 +9,7 @@ from voussoirkit import pipeable
|
|||
from voussoirkit import winglob
|
||||
|
||||
def touch_argparse(args):
|
||||
patterns = [pattern for arg in args.patterns for pattern in pipeable.input(arg)]
|
||||
patterns = pipeable.input_many(args.patterns, skip_blank=True)
|
||||
for pattern in patterns:
|
||||
filenames = winglob.glob(pattern)
|
||||
|
||||
|
|
Loading…
Reference in a new issue