From ab83996acff70e6892f4f3de96ee546f43516cca Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 13 Aug 2020 14:40:47 -0700 Subject: [PATCH] Add skewer-case aliases for snake_case arguments. --- voussoir.net/writing/vmarkdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoir.net/writing/vmarkdown.py b/voussoir.net/writing/vmarkdown.py index 72e7a3a..1bb37d7 100644 --- a/voussoir.net/writing/vmarkdown.py +++ b/voussoir.net/writing/vmarkdown.py @@ -730,7 +730,7 @@ def main(argv): parser.add_argument('md_filename') parser.add_argument('--css', dest='css', action='append', default=None) - parser.add_argument('--embed_images', dest='do_embed_images', action='store_true') + parser.add_argument('--embed_images', '--embed-images', dest='do_embed_images', action='store_true') parser.add_argument('-o', '--output', dest='output_filename', default=None) parser.add_argument('--server', dest='server', type=int, default=None) parser.set_defaults(func=markdown_argparse)