소스 검색

Merge pull request #569 from AlexWayfer/unify_output_with_pacman

Make output more similar to `pacman`s
Anna 6 년 전
부모
커밋
23e0064382
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      install.go

+ 2 - 4
install.go

@@ -106,8 +106,6 @@ func install(parser *arguments) error {
 			arguments.options["ignore"] = ignoreStr
 		}
 
-		fmt.Println()
-
 		for pkg := range aurUp {
 			parser.addTarget(pkg)
 		}
@@ -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
 		}
 
@@ -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
 	}