aboutsummaryrefslogtreecommitdiff
path: root/src/list_pkgs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/list_pkgs.cc')
-rw-r--r--src/list_pkgs.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/list_pkgs.cc b/src/list_pkgs.cc
index 487a75c..a64c753 100644
--- a/src/list_pkgs.cc
+++ b/src/list_pkgs.cc
@@ -1,10 +1,11 @@
#include <iostream>
#include "list_pkgs.hh"
+#include "lua_state.hh"
#include "vars.hh"
void list_pkgs() {
- for (auto repo : repos) {
+ for (auto repo : cached_repos) {
std::cout << repo.first << std::endl;
}
}