From f21ecf1edaf39d5fde99d7147bcd07e232371269 Mon Sep 17 00:00:00 2001 From: derrod Date: Mon, 10 Jan 2022 00:41:11 +0100 Subject: [PATCH] [cli] Fix old command name aliases not actually working --- legendary/cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/legendary/cli.py b/legendary/cli.py index d78f862..86eb7b9 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -2859,13 +2859,13 @@ def main(): try: if args.subparser_name == 'auth': cli.auth(args) - elif args.subparser_name == 'list': + elif args.subparser_name in {'list', 'list-games'}: cli.list_games(args) elif args.subparser_name == 'list-installed': cli.list_installed(args) elif args.subparser_name == 'launch': 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) elif args.subparser_name == 'uninstall': cli.uninstall_game(args) @@ -2879,9 +2879,9 @@ def main(): cli.sync_saves(args) elif args.subparser_name == 'clean-saves': cli.clean_saves(args) - elif args.subparser_name == 'verify': + elif args.subparser_name in {'verify', 'verify-game'}: cli.verify_game(args) - elif args.subparser_name == 'import': + elif args.subparser_name in {'import', 'import-game'}: cli.import_game(args) elif args.subparser_name == 'egl-sync': cli.egs_sync(args)