Add skewer-case aliases for snake_case arguments.

This commit is contained in:
Ethan Dalool 2020-08-13 14:40:47 -07:00
parent 1f7bb99535
commit ab83996acf

View file

@ -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)