diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-10-12 16:50:47 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-10-12 16:50:47 +0300 |
commit | 673627581f42bb32f20a356dd190a0abd38d1962 (patch) | |
tree | 19fde5c35fc55ff0cf898cfba4146986583bd0cd /src/actionhelper.c | |
parent | 14d030093e599b342acf0e0450bf29c6268d21d7 (diff) | |
download | ck-673627581f42bb32f20a356dd190a0abd38d1962.tar.gz ck-673627581f42bb32f20a356dd190a0abd38d1962.tar.bz2 ck-673627581f42bb32f20a356dd190a0abd38d1962.zip |
More errlog integration
Diffstat (limited to 'src/actionhelper.c')
-rw-r--r-- | src/actionhelper.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 = { |