Skip to content

Commit dc68617

Browse files
committed
[cli] Change --prefix-filter to --prefix
1 parent 5a197fe commit dc68617

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ optional arguments:
164164
debug
165165
--platform <Platform>
166166
Platform override for download (disables install)
167-
--prefix-filter <prefix>
168-
Only fetch files whose path starts with <prefix> (case
169-
insensitive)
167+
--prefix <prefix> Only fetch files whose path starts with <prefix> (case insensitive)
170168
171169
172170
Command: uninstall

legendary/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ def main():
445445
help='Set download manager and worker processes\' loglevel to debug')
446446
install_parser.add_argument('--platform', dest='platform_override', action='store', metavar='<Platform>',
447447
type=str, help='Platform override for download (disables install)')
448-
install_parser.add_argument('--prefix-filter', dest='file_prefix', action='store', metavar='<prefix>',
449-
type=str, help='Only fetch files whose path starts with <prefix> (case insensitive)')
448+
install_parser.add_argument('--prefix', dest='file_prefix', action='store', metavar='<prefix>', type=str,
449+
help='Only fetch files whose path starts with <prefix> (case insensitive)')
450450

451451
launch_parser.add_argument('--offline', dest='offline', action='store_true',
452452
default=False, help='Skip login and launch game without online authentication')

0 commit comments

Comments
 (0)