mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Show note when no game information is available
This commit is contained in:
parent
b57735abf3
commit
7f53746ee6
|
@ -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']:
|
||||
|
|
Loading…
Reference in a new issue