add '-G' command-line option (#1217)
A "stronger" version of '-g', resolving all intermediate URLs.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user