diff options
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 = { |