Update to pylib utils

This commit is contained in:
Griatch 2020-06-17 23:05:22 +02:00
parent 892d8efb93
commit 117b1af304
2 changed files with 55 additions and 11 deletions

View file

@ -5,7 +5,7 @@
Format given files to a max width.
Usage:
python fmtwidth.py --width 79 ../source/*.md
python fmtwidth.py --width 79 ../source/**.md
"""
import glob
@ -23,7 +23,7 @@ if __name__ == "__main__":
args = parser.parse_args()
filepaths = glob.glob(args.files)
filepaths = glob.glob(args.files, recursive=True)
width = args.width
wrapper = textwrap.TextWrapper(