From 6486d02daab9311ad56841ce71e8a786871e9e6a Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 7 Oct 2021 17:06:39 +0200 Subject: [PATCH] [cli] Resolve app name alias when adding new alias --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 35836db..afc2168 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -1505,7 +1505,7 @@ class LegendaryCLI: if args.action == 'add': alias = args.alias - app_name = args.app_or_alias + app_name = self._resolve_aliases(args.app_or_alias) game = self.core.get_game(app_name) if not game: logger.error(f'Invalid app name: "{app_name}"')