Merge pull request #339 from Morganamilo/doc2

Document fcf0ee34d17e20dc7cb99e8b6547f71c5ab522e4
This commit is contained in:
J Guerreiro 2018-04-09 12:08:47 +01:00 committed by GitHub
commit 6ad06696d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

2
cmd.go
View File

@ -15,6 +15,7 @@ var cmdArgs = makeArguments()
func usage() {
fmt.Println(`Usage:
yay
yay <operation> [...]
yay <package(s)>
@ -88,6 +89,7 @@ Yay specific options:
-c --clean Remove unneeded dependencies
--gendb Generates development package DB used for updating
If no arguments are provided 'yay -Syu' will be performed
If no operation is provided -Y will be assumed`)
}

View File

@ -9,6 +9,8 @@ yay \- AUR Helper written in go
\fIyay\fR <operation> [options] [targets]
.sp
\fIyay\fR <search pattern>
.sp
\fIyay\fR
.SH "DESCRIPTION"
.sp
Yay is a Pacman wrapper with AUR support\&. It passes options to Makepkg and
@ -34,6 +36,9 @@ Perform yay specific print operations\&.
Downloads PKGBUILD from ABS or AUR\&.
.RE
.PP
If no arguments are provided 'yay -Syu' will be performed\&.
.RE
.PP
If no operation is selected -Y will be assumed\&.
.SH "EXTENDED PACMAN OPERATIONS"
.PP