summaryrefslogtreecommitdiffstats
path: root/gamechestcli/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gamechestcli/__main__.py')
-rwxr-xr-xgamechestcli/__main__.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/gamechestcli/__main__.py b/gamechestcli/__main__.py
index 22749bd..73d5bab 100755
--- a/gamechestcli/__main__.py
+++ b/gamechestcli/__main__.py
@@ -6,7 +6,7 @@ Usage: gamechest install <GAME_ID>
gamechest remove <GAME_ID>
gamechest run [--profile_id=<PROFILE_ID>] <GAME_ID>
gamechest set [--profile_id=<PROFILE_ID>] [--remote_basedir=<PATH>] [--gamesaves_path=<PATH>]
- gamechest list [--installed]
+ gamechest list [--installed|--not-installed]
gamechest showconfig
'''
@@ -51,7 +51,11 @@ def main():
game_db = GameDB()
list_installed = list(status_db.get_installed())
for game_id in game_db.get_ids():
- print(game_id, 'installed:', game_id in list_installed)
+ if args['--not-installed']:
+ if game_id not in list_installed:
+ print(game_id)
+ else:
+ print(game_id, 'installed:', game_id in list_installed)
elif args['showconfig']:
config.print_config()