Skip to content

Commit

Permalink
Merge pull request Jguer#569 from AlexWayfer/unify_output_with_pacman
Browse files Browse the repository at this point in the history
Make output more similar to `pacman`s
  • Loading branch information
Morganamilo authored Jul 19, 2018
2 parents dd891ab + 900dfd1 commit 23e0064
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions install.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ func install(parser *arguments) error {
arguments.options["ignore"] = ignoreStr
}

fmt.Println()

for pkg := range aurUp {
parser.addTarget(pkg)
}
Expand All @@ -127,7 +125,7 @@ func install(parser *arguments) error {

if len(dp.Aur) == 0 {
if !config.CombinedUpgrade {
fmt.Println("There is nothing to do")
fmt.Println(" there is nothing to do")
return nil
}

Expand Down Expand Up @@ -160,7 +158,7 @@ func install(parser *arguments) error {
}

if len(do.Aur) == 0 && len(arguments.targets) == 0 && (!parser.existsArg("u", "sysupgrade") || mode == ModeAUR) {
fmt.Println("There is nothing to do")
fmt.Println(" there is nothing to do")
return nil
}

Expand Down

0 comments on commit 23e0064

Please sign in to comment.