Browse Source

Fix missing %s in callbacks.go

morganamilo 7 năm trước cách đây
mục cha
commit
7274e7d31a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      callbacks.go

+ 1 - 1
callbacks.go

@@ -75,7 +75,7 @@ func questionCallback(question alpm.QuestionAny) {
 			}
 
 			if num < 1 || num > size {
-				fmt.Printf(" invalid value: %d is not between %d and %d\n", red("error: "), num, 1, size)
+				fmt.Printf("%s invalid value: %d is not between %d and %d\n", red("error:"), num, 1, size)
 				continue
 			}