From 673627581f42bb32f20a356dd190a0abd38d1962 Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 12 Oct 2018 16:50:47 +0300 Subject: More errlog integration --- src/actionhelper.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/actionhelper.c') diff --git a/src/actionhelper.c b/src/actionhelper.c index 582333e..f0113bf 100644 --- a/src/actionhelper.c +++ b/src/actionhelper.c @@ -149,6 +149,16 @@ void add_make_link(const AddOpt *opt, const Conf *conf) { } } +void edit_print_suggested_configs(DB *db, const char *pName) { + char name[STR_M] = ""; + strcat(name, pName); + strcat(name, ":"); + cklist *paths = list_make_and_add(name); + get_program_paths(db, paths, pName, 1, 0); + list_print(paths); + list_free(paths); +} + ListOpt list_make_options(cklist *args) { list_rewind(args); ListOpt listOpt = { -- cgit v1.2.3