summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 74d12fa..e35ab46 100644
--- a/main.go
+++ b/main.go
@@ -72,7 +72,6 @@ func main() {
// load the ~/.config/forge/ config
me.forge = forgepb.Init()
- me.found = new(gitpb.Repos)
// first find the repos or gopaths to operate on
if argv.Config != nil {
@@ -179,7 +178,8 @@ func main() {
// nothing else was specified to be done,
// then just list the table to stdout
if gui.NoGui() {
- me.forge.PrintHumanTable(me.found)
+ found := doFind()
+ me.forge.PrintHumanTable(found)
okExit("")
}