mirror of
https://github.com/Jguer/yay
synced 2024-09-30 05:13:33 +00:00
fix(sync): add missing Replaces to -Si (#2257)
This commit is contained in:
parent
9aefb8440e
commit
7483393377
15
print.go
15
print.go
|
@ -24,24 +24,25 @@ import (
|
|||
func printInfo(config *settings.Configuration, a *aur.Pkg, extendedInfo bool) {
|
||||
text.PrintInfoValue(gotext.Get("Repository"), "aur")
|
||||
text.PrintInfoValue(gotext.Get("Name"), a.Name)
|
||||
text.PrintInfoValue(gotext.Get("Keywords"), a.Keywords...)
|
||||
text.PrintInfoValue(gotext.Get("Version"), a.Version)
|
||||
text.PrintInfoValue(gotext.Get("Description"), a.Description)
|
||||
text.PrintInfoValue(gotext.Get("URL"), a.URL)
|
||||
text.PrintInfoValue(gotext.Get("AUR URL"), config.AURURL+"/packages/"+a.Name)
|
||||
text.PrintInfoValue(gotext.Get("Groups"), a.Groups...)
|
||||
text.PrintInfoValue(gotext.Get("Licenses"), a.License...)
|
||||
text.PrintInfoValue(gotext.Get("Groups"), a.Groups...)
|
||||
text.PrintInfoValue(gotext.Get("Provides"), a.Provides...)
|
||||
text.PrintInfoValue(gotext.Get("Depends On"), a.Depends...)
|
||||
text.PrintInfoValue(gotext.Get("Optional Deps"), a.OptDepends...)
|
||||
text.PrintInfoValue(gotext.Get("Make Deps"), a.MakeDepends...)
|
||||
text.PrintInfoValue(gotext.Get("Check Deps"), a.CheckDepends...)
|
||||
text.PrintInfoValue(gotext.Get("Optional Deps"), a.OptDepends...)
|
||||
text.PrintInfoValue(gotext.Get("Conflicts With"), a.Conflicts...)
|
||||
text.PrintInfoValue(gotext.Get("Maintainer"), a.Maintainer)
|
||||
text.PrintInfoValue(gotext.Get("Votes"), fmt.Sprintf("%d", a.NumVotes))
|
||||
text.PrintInfoValue(gotext.Get("Popularity"), fmt.Sprintf("%f", a.Popularity))
|
||||
text.PrintInfoValue(gotext.Get("Replaces"), a.Replaces...)
|
||||
text.PrintInfoValue(gotext.Get("AUR URL"), config.AURURL+"/packages/"+a.Name)
|
||||
text.PrintInfoValue(gotext.Get("First Submitted"), text.FormatTimeQuery(a.FirstSubmitted))
|
||||
text.PrintInfoValue(gotext.Get("Keywords"), a.Keywords...)
|
||||
text.PrintInfoValue(gotext.Get("Last Modified"), text.FormatTimeQuery(a.LastModified))
|
||||
text.PrintInfoValue(gotext.Get("Maintainer"), a.Maintainer)
|
||||
text.PrintInfoValue(gotext.Get("Popularity"), fmt.Sprintf("%f", a.Popularity))
|
||||
text.PrintInfoValue(gotext.Get("Votes"), fmt.Sprintf("%d", a.NumVotes))
|
||||
|
||||
if a.OutOfDate != 0 {
|
||||
text.PrintInfoValue(gotext.Get("Out-of-date"), text.FormatTimeQuery(a.OutOfDate))
|
||||
|
|
Loading…
Reference in a new issue