From 69169c2c71234aa0bc60e15b331369263db0e4b8 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sat, 30 Dec 2023 03:42:57 -0800 Subject: [PATCH 1/1] args: Prefer dashes to underscores --- args.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/args.py b/args.py index b765fc6..fc7a0f7 100644 --- a/args.py +++ b/args.py @@ -31,7 +31,7 @@ def _print_status(msg: str) -> None: def _command_line_parser() -> ArgumentParser: parser = ArgumentParser(prog='paperdoorknob', description='Print glowfic') parser.add_argument( - '--cache_path', + '--cache-path', metavar='PATH', help='Where to keep the http cache (instead of %(default)s)', default=os.path.join(xdg_cache_home(), "paperdoorknob")) @@ -51,7 +51,7 @@ See https://faculty.bard.edu/bloch/geometry.pdf for details help='Which HTML filters to use (default: %(default)s)', default=','.join(f[0] for f in HTMLFilters)) parser.add_argument( - '--image_size', + '--image-size', help='How large the icon images are, in mm', default=20) parser.add_argument( -- 2.44.1