From 4945cedb57edd76f4a53d57437d486daa7c26662 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Mar 2021 17:30:21 -0400 Subject: db_games_find(): Parse game name and description --- (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 6529c88..b547a9f 100644 --- a/src/main.c +++ b/src/main.c @@ -26,7 +26,8 @@ main(int argc, char *argv[]) if (n > 0) { printf("%d games:\n", n); for (i = 0; i < n; ++i) { - printf("\t%s\n", db_game_get_name(games[i])); + printf("\t%s - %s\n", db_game_get_name(games[i]), + db_game_get_desc(games[i])); db_game_free(games[i]); } free(games); -- cgit v0.9.1