diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,8 @@ #include "args.h" #include "config.h" +#include "repo.h" + +#include "stdio.h" int main(int argc, char *argv[]) { pow_args args = {0}; @@ -15,6 +18,11 @@ int main(int argc, char *argv[]) { pow_config config = {0}; pow_open_config(&config, args.cfg_path); + + if (args.flags & POW_FLAG_QUERY) { + repo_check_package(config.repos, config.repos_count, args.package); + } + pow_close_config(&config); return 0; |
