summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/main.go b/main.go
index 25e801e..6ac2a80 100644
--- a/main.go
+++ b/main.go
@@ -109,15 +109,17 @@ func main() {
// now, do something to all of them (or just print out a table of them)
var done bool = false
if argv.Dirty != nil {
- argv.Dirty.findRepos()
+ findAll() // select all the repos
doCheckDirty()
+ me.found = new(gitpb.Repos)
+ findDirty()
+ doCobol()
okExit("")
done = true
}
if argv.Scan {
- findRepos(argv.List)
- doScan()
+ me.forge.ScanGoSrc()
done = true
}
@@ -128,7 +130,7 @@ func main() {
}
if argv.GitReset {
- findRepos(argv.List)
+ findAll() // select all the repos
doGitReset()
done = true
}