[cli] Show note when no game information is available

This commit is contained in:
derrod 2021-10-16 19:33:59 +02:00
parent b57735abf3
commit 7f53746ee6

View file

@ -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']: