@@ -650,14 +650,14 @@ func PluginCommand(out io.Writer, cmd string, args []string) {
650650 if pp == nil {
651651 fmt .Fprintln (out , "Unknown plugin \" " + plugin + "\" " )
652652 } else if err := pp .IsInstallable (out ); err != nil {
653- fmt .Fprintln (out , "Error installing " , plugin , ": " , err )
653+ fmt .Fprintln (out , "Error installing " + plugin + ": " , err )
654654 } else {
655655 for _ , installed := range installedVersions {
656656 if pp .Name == installed .Pack ().Name {
657657 if pp .Versions [0 ].Version .Compare (installed .Version ) == 1 {
658- fmt .Fprintln (out , pp .Name , " is already installed but out-of-date: use 'plugin update " , pp .Name , "' to update" )
658+ fmt .Fprintln (out , pp .Name , "is already installed but out-of-date: use 'plugin update " + pp .Name + "' to update" )
659659 } else {
660- fmt .Fprintln (out , pp .Name , " is already installed" )
660+ fmt .Fprintln (out , pp .Name , "is already installed" )
661661 }
662662 }
663663 }
@@ -685,8 +685,9 @@ func PluginCommand(out io.Writer, cmd string, args []string) {
685685 }
686686 }
687687 }
688+ removed = strings .TrimSpace (removed )
688689 if removed != "" {
689- fmt .Fprintln (out , "Removed " , removed )
690+ fmt .Fprintln (out , "Removed" , removed )
690691 } else {
691692 fmt .Fprintln (out , "No plugins removed" )
692693 }
@@ -706,7 +707,7 @@ func PluginCommand(out io.Writer, cmd string, args []string) {
706707 }
707708 case "search" :
708709 plugins := SearchPlugin (out , args )
709- fmt .Fprintln (out , len (plugins ), " plugins found" )
710+ fmt .Fprintln (out , len (plugins ), "plugins found" )
710711 for _ , p := range plugins {
711712 fmt .Fprintln (out , "----------------" )
712713 fmt .Fprintln (out , p .String ())
0 commit comments