Add @pipeable.ctrlc_return1.

This commit is contained in:
voussoir 2021-01-22 20:58:55 -08:00
parent 7ec0377bf1
commit 19ce94729c
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -22,6 +22,7 @@ def hash_file(file):
hasher.update(chunk)
return hasher.hexdigest()
@pipeable.ctrlc_return1
def hash_hardlink_argparse(args):
paths = [pathclass.Path(p) for p in pipeable.input_many(args.paths, strip=True, skip_blank=True)]