diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -70,7 +70,7 @@ func main() { me.forge = forgepb.Init() me.found = new(gitpb.Repos) argv.Checkout.User.findRepos() - doCobol() + doHumanTable() okExit("") } @@ -79,7 +79,7 @@ func main() { me.forge = forgepb.Init() me.found = new(gitpb.Repos) argv.Checkout.Devel.findRepos() - doCobol() + doHumanTable() okExit("") } @@ -88,7 +88,7 @@ func main() { me.forge = forgepb.Init() me.found = new(gitpb.Repos) argv.Checkout.Master.findRepos() - doCobol() + doHumanTable() } log.Info("make 'user' the default here?") okExit("") @@ -101,7 +101,7 @@ func main() { doCheckDirtyAndConfigSave() me.found = new(gitpb.Repos) findDirty() - doCobol() + doHumanTable() okExit("") } @@ -110,6 +110,12 @@ func main() { okExit("") } + if argv.Show != "" { + repo := me.forge.FindByGoPath(argv.Show) + HumanPrintRepo(repo) + okExit("") + } + if argv.GitPull != nil { argv.GitPull.findRepos() doGitPull() @@ -125,7 +131,7 @@ func main() { if argv.List != nil { argv.List.findRepos() // print out the repos - doCobol() + doHumanTable() okExit("patches") } if argv.Patch != nil { @@ -151,7 +157,7 @@ func main() { // nothing else was specified to be done, // then just list the table to stdout if gui.NoGui() { - doCobol() + doHumanTable() okExit("") } |
