aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-08-18 18:44:14 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-08-18 18:44:14 +0300
commit0f33c8a9cbabda257c4dd73009266a4cf5f857a7 (patch)
tree1b0ca0c9a3d06b6ccd32c456f8fe8d84cb153093 /src/actions.c
parentffc33043a488ecf038d8414fc8af1e99389619f8 (diff)
downloadck-0f33c8a9cbabda257c4dd73009266a4cf5f857a7.tar.gz
ck-0f33c8a9cbabda257c4dd73009266a4cf5f857a7.tar.bz2
ck-0f33c8a9cbabda257c4dd73009266a4cf5f857a7.zip
steps towards list
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index 680ae68..3cce2f6 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -172,7 +172,15 @@ int run_LIST(UserOpt *opt, Conf *conf) {
}
return 0;
}
- list_print_lisp(opt->args);
+
+ cklist *paths = list_make_new();
+
+ list_get_paths(&db, paths);
+
+ //list_print_lisp(paths);
+ // list_print_python(opt->args);
+ list_print(paths);
+ list_free(paths);
close_DB(&db);
return 0;
}