allow jpg in cli options

This commit is contained in:
Fabien LOISON 2018-01-15 11:22:21 +01:00
parent 74392397cb
commit 2153f7e8c2
No known key found for this signature in database
GPG Key ID: FF90CA148348048E
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ def add_image_cli_options(parser, prefix=""):
parser.add_argument(
"--%soutput-format" % prefix,
help="format of the output image",
choices=["orig", "auto", "jpeg", "png"],
metavar="{orig,auto,jpeg,png}",
choices=["orig", "auto", "jpeg", "jpg", "png"],
default=DEFAULT_OPTIONS["output_format"]
)
parser.add_argument(