diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-04-22 05:47:33 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-04-22 05:47:33 +0300 |
commit | eeca7f0151d85d563d1db229e3b7ca936323ffa2 (patch) | |
tree | 32e57172bd786daed9ac4251b3c5edf09c49d242 /src/actions.c | |
parent | 3560d8be4b833e888e8386a3dc641fa164b4b808 (diff) | |
download | ck-eeca7f0151d85d563d1db229e3b7ca936323ffa2.tar.gz ck-eeca7f0151d85d563d1db229e3b7ca936323ffa2.tar.bz2 ck-eeca7f0151d85d563d1db229e3b7ca936323ffa2.zip |
First steps towards adding to the db
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |