diff --git a/cmd.go b/cmd.go index 1fbdace4..0d051cba 100644 --- a/cmd.go +++ b/cmd.go @@ -15,6 +15,7 @@ var cmdArgs = makeArguments() func usage() { fmt.Println(`Usage: + yay yay [...] yay @@ -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`) } diff --git a/doc/yay.8 b/doc/yay.8 index bcec6ed6..8f558aec 100644 --- a/doc/yay.8 +++ b/doc/yay.8 @@ -9,6 +9,8 @@ yay \- AUR Helper written in go \fIyay\fR [options] [targets] .sp \fIyay\fR +.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