mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Add "--with-dlcs" flag to automatically install all DLCs
This commit is contained in:
parent
3a608610f3
commit
ff29b949cb
|
@ -830,7 +830,7 @@ class LegendaryCLI:
|
|||
print('Manually installing DLCs works the same; just use the DLC app name instead.')
|
||||
|
||||
install_dlcs = True
|
||||
if not args.yes:
|
||||
if not args.yes and not args.with_dlcs:
|
||||
if not get_boolean_choice(f'Do you wish to automatically install DLCs?'):
|
||||
install_dlcs = False
|
||||
|
||||
|
@ -1484,6 +1484,8 @@ def main():
|
|||
help='Set the hostname of the preferred CDN to use when available')
|
||||
install_parser.add_argument('--no-https', dest='disable_https', action='store_true',
|
||||
help='Download games via plaintext HTTP (like EGS), e.g. for use with a lan cache')
|
||||
install_parser.add_argument('--with-dlcs', dest='with_dlcs', action='store_true',
|
||||
help='Automatically install all DLCs with the base game')
|
||||
|
||||
uninstall_parser.add_argument('--keep-files', dest='keep_files', action='store_true',
|
||||
help='Keep files but remove game from Legendary database')
|
||||
|
|
Loading…
Reference in a new issue