From 7f53746ee61bde17120f8a8d864dfa3b3df26e67 Mon Sep 17 00:00:00 2001 From: derrod Date: Sat, 16 Oct 2021 19:33:59 +0200 Subject: [PATCH] [cli] Show note when no game information is available --- legendary/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 9c9bccc..f254388 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -1588,6 +1588,9 @@ class LegendaryCLI: print('\nManifest information:') for info_item in info_items['manifest']: print_info_item(info_item) + + if not any(info_items.values()): + print('No game information available.') else: json_out = dict(game=dict(), install=dict(), manifest=dict()) for info_item in info_items['game']: