add '-G' command-line option (#1217)

A "stronger" version of '-g', resolving all intermediate URLs.
This commit is contained in:
Mike Fährmann
2021-01-07 18:10:54 +01:00
parent fa8ee6eac4
commit 1c9435e0df

View File

@@ -135,6 +135,11 @@ def build_parser():
dest="list_urls", action="count",
help="Print URLs instead of downloading",
)
output.add_argument(
"-G",
dest="list_urls", action="store_const", const=128,
help=argparse.SUPPRESS,
)
output.add_argument(
"-j", "--dump-json",
dest="jobtype", action="store_const", const=job.DataJob,