diff options
| author | 2022-01-08 20:39:38 -0500 | |
|---|---|---|
| committer | 2022-01-08 20:39:38 -0500 | |
| commit | e79415947da81787fbcbdbf0447d6fa0ecea166a (patch) | |
| tree | c96811360f1816db1db38a64c6c65ddb7e03ece6 /gallery_dl/option.py | |
| parent | 4339ea5f5c0105d112c88fd07581115d7fb4f2a3 (diff) | |
| parent | 8de58070ee3e55f29966a787fd618632dbf4309b (diff) | |
Update upstream source from tag 'upstream/1.20.1'
Update to upstream version '1.20.1'
with Debian dir bfa6a049d7c503377f35ac76efd1ede7feb78f6a
Diffstat (limited to 'gallery_dl/option.py')
| -rw-r--r-- | gallery_dl/option.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py index 1967bf7..cdfe9a1 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -92,28 +92,28 @@ def build_parser(): help="Print program version and exit", ) general.add_argument( - "--dest", - dest="base-directory", metavar="DEST", action=ConfigAction, - help=argparse.SUPPRESS, - ) - general.add_argument( "-i", "--input-file", dest="inputfiles", metavar="FILE", action="append", help=("Download URLs found in FILE ('-' for stdin). " "More than one --input-file can be specified"), ) general.add_argument( + "-d", "--destination", + dest="base-directory", metavar="PATH", action=ConfigAction, + help="Target location for file downloads", + ) + general.add_argument( + "-D", "--directory", + dest="directory", metavar="PATH", + help="Exact location for file downloads", + ) + general.add_argument( "-f", "--filename", dest="filename", metavar="FORMAT", help=("Filename format string for downloaded files " "('/O' for \"original\" filenames)"), ) general.add_argument( - "-d", "--directory", - dest="directory", metavar="PATH", - help="Target location for file downloads", - ) - general.add_argument( "--cookies", dest="cookies", metavar="FILE", action=ConfigAction, help="File to load additional cookies from", |
