mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Fix old command name aliases not actually working
This commit is contained in:
parent
f0ca8e6a9b
commit
f21ecf1eda
|
@ -2859,13 +2859,13 @@ def main():
|
||||||
try:
|
try:
|
||||||
if args.subparser_name == 'auth':
|
if args.subparser_name == 'auth':
|
||||||
cli.auth(args)
|
cli.auth(args)
|
||||||
elif args.subparser_name == 'list':
|
elif args.subparser_name in {'list', 'list-games'}:
|
||||||
cli.list_games(args)
|
cli.list_games(args)
|
||||||
elif args.subparser_name == 'list-installed':
|
elif args.subparser_name == 'list-installed':
|
||||||
cli.list_installed(args)
|
cli.list_installed(args)
|
||||||
elif args.subparser_name == 'launch':
|
elif args.subparser_name == 'launch':
|
||||||
cli.launch_game(args, extra)
|
cli.launch_game(args, extra)
|
||||||
elif args.subparser_name in ('download', 'install', 'update', 'repair'):
|
elif args.subparser_name in {'download', 'install', 'update', 'repair'}:
|
||||||
cli.install_game(args)
|
cli.install_game(args)
|
||||||
elif args.subparser_name == 'uninstall':
|
elif args.subparser_name == 'uninstall':
|
||||||
cli.uninstall_game(args)
|
cli.uninstall_game(args)
|
||||||
|
@ -2879,9 +2879,9 @@ def main():
|
||||||
cli.sync_saves(args)
|
cli.sync_saves(args)
|
||||||
elif args.subparser_name == 'clean-saves':
|
elif args.subparser_name == 'clean-saves':
|
||||||
cli.clean_saves(args)
|
cli.clean_saves(args)
|
||||||
elif args.subparser_name == 'verify':
|
elif args.subparser_name in {'verify', 'verify-game'}:
|
||||||
cli.verify_game(args)
|
cli.verify_game(args)
|
||||||
elif args.subparser_name == 'import':
|
elif args.subparser_name in {'import', 'import-game'}:
|
||||||
cli.import_game(args)
|
cli.import_game(args)
|
||||||
elif args.subparser_name == 'egl-sync':
|
elif args.subparser_name == 'egl-sync':
|
||||||
cli.egs_sync(args)
|
cli.egs_sync(args)
|
||||||
|
|
Loading…
Reference in a new issue