diff options
| -rw-r--r-- | branches.go | 6 | ||||
| -rw-r--r-- | tableDefault.go | 13 |
2 files changed, 3 insertions, 16 deletions
diff --git a/branches.go b/branches.go index fc1364c..05c08b6 100644 --- a/branches.go +++ b/branches.go @@ -96,7 +96,7 @@ func (f *Forge) DoAllCheckoutMaster() error { found.Append(repo) } } - f.PrintHumanTable(found) + found.PrintDefaultTB() log.Printf("There are %d repos that are NOT on the master branch\n", found.Len()) return err } @@ -175,7 +175,7 @@ func (f *Forge) DoAllCheckoutUser(force bool) error { found.Append(repo) } } - f.PrintHumanTable(found) + found.PrintDefaultTB() log.Printf("There are %d repos that are NOT on the user branch\n", found.Len()) return err } @@ -270,7 +270,7 @@ func (f *Forge) DoAllCheckoutDevel(force bool) error { found.Append(repo) } } - f.PrintHumanTable(found) + found.PrintDefaultTB() log.Printf("There are %d repos that are NOT on the devel branch\n", found.Len()) return err } diff --git a/tableDefault.go b/tableDefault.go index 38f95cb..9cd9012 100644 --- a/tableDefault.go +++ b/tableDefault.go @@ -112,16 +112,3 @@ func (f *Forge) makeDefaultTB(pb *gitpb.Repos) *gitpb.ReposTable { col.Width = 42 return t } - -// // the old function names -func (f *Forge) PrintHumanTable(pb *gitpb.Repos) string { - return f.PrintDefaultTB(pb) -} - -func (f *Forge) PrintHumanTableFull(pb *gitpb.Repos) string { - return f.PrintDefaultTB(pb) -} - -func (f *Forge) PrintHumanTableDirty(pb *gitpb.Repos) string { - return f.PrintDefaultTB(pb) -} |
