Merge pull request #288 from Morganamilo/Qu

Add -Qu to the extended pacman options
This commit is contained in:
Morgana 2018-03-25 22:36:02 +01:00 committed by GitHub
commit 2f845d1a1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -37,7 +37,7 @@ Downloads PKGBUILD from ABS or AUR\&.
If no operation is selected -Y will be assumed\&.
.SH "EXTENDED PACMAN OPERATIONS"
.PP
\fB\-S, -Si, -Ss, -Su\fR
\fB\-S, -Si, -Ss, -Su, -Qu\fR
.RS 4
These operations are extended to support both AUR and repo packages\&.
.RE

5
vcs.go
View file

@ -36,11 +36,10 @@ func createDevelDB() error {
if err != nil {
return err
}
for _, pkg := range info {
infoMap[pkg.Name] = pkg
}
bases := getBases(infoMap)
@ -123,7 +122,7 @@ func updateVCSData(pkgName string, sources []string) {
savedInfo[pkgName] = info
fmt.Println(bold(green(arrow + " Found git repo: ")) + cyan(url))
fmt.Println(bold(green(arrow+" Found git repo: ")) + cyan(url))
saveVCSInfo()
}
}