1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

use double quotes for --help examples

This commit is contained in:
Mike Fährmann 2023-01-04 14:30:27 +01:00
parent dfe4f00ca2
commit 6f6af36cad
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -473,7 +473,7 @@ def build_parser():
dest="postprocessors", metavar="CMD",
action=AppendCommandAction, const={"name": "exec"},
help=("Execute CMD for each downloaded file. "
"Example: --exec 'convert {} {}.png && rm {}'"),
"Example: --exec \"convert {} {}.png && rm {}\""),
)
postprocessor.add_argument(
"--exec-after",
@ -481,7 +481,7 @@ def build_parser():
action=AppendCommandAction, const={
"name": "exec", "event": "finalize"},
help=("Execute CMD after all files were downloaded successfully. "
"Example: --exec-after 'cd {} && convert * ../doc.pdf'"),
"Example: --exec-after \"cd {} && convert * ../doc.pdf\""),
)
postprocessor.add_argument(
"-P", "--postprocessor",