Simplify the output in AfterPrint()

- Change FinishPrint() to AfterPrint()
  (As suggested in #31160)
- add a newline to separate it from the table
- remove the "objects" and ()
- assume plural
This commit is contained in:
Angus Salkeld
2016-09-06 11:42:30 +10:00
parent 7c27a2686f
commit ee298a80e9
5 changed files with 18 additions and 18 deletions

View File

@@ -40,7 +40,7 @@ type SortingPrinter struct {
Decoder runtime.Decoder
}
func (s *SortingPrinter) FinishPrint(w io.Writer, res string) error {
func (s *SortingPrinter) AfterPrint(w io.Writer, res string) error {
return nil
}