From eeca7f0151d85d563d1db229e3b7ca936323ffa2 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 22 Apr 2018 05:47:33 +0300 Subject: First steps towards adding to the db --- src/actions.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/actions.c') diff --git a/src/actions.c b/src/actions.c index 8941495..87c0a6c 100644 --- a/src/actions.c +++ b/src/actions.c @@ -42,6 +42,7 @@ int run_ADD(UserOpt * opt, Conf *conf) { for (int i = 0; i < opt->argc; i++) { printf("[%d]: %s\n", i, opt->argv[i]); } + add_insert_program_to_db(&db, opt->argv[1]); close_DB(&db); return 0; } -- cgit v1.2.3