소스 검색

Update man page and tweak usage

morganamilo 7 년 전
부모
커밋
99c7b5bb44
2개의 변경된 파일26개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      cmd.go
  2. 24 2
      doc/yay.8

+ 2 - 2
cmd.go

@@ -81,8 +81,8 @@ Permanent configuration options:
     --sudoloop            Loop sudo calls in the background to avoid timeout
     --nosudoloop          Do not loop sudo calls in the background
 
-    --timeupdate          Check package's AUR page for changes during sysupgrade
-    --notimeupdate        Do not checking of AUR page changes
+    --timeupdate          Check packages' AUR page for changes during sysupgrade
+    --notimeupdate        Do not check packages' AUR page for changes
 
 Print specific options:
     -c --complete         Used for completions

+ 24 - 2
doc/yay.8

@@ -142,6 +142,14 @@ environment variable will be checked, followed by \fBVISUAL\fR\&. If none of
 these are set Yay will prompt the user for an editor\&.
 .RE
 .PP
+\fB\-\-editorflags <flags>\fR
+.RS 4
+Passes arguments to the editor\&. These flags get passed to every instance where
+the editor is called by Yay. Arguments are split on whitespace before being
+passed to gpg. Multiple arguments may be passed by supplying a space
+separated list that is quoted by the shell.
+.RE
+.PP
 \fB\-\-makepkg <file>\fR
 .RS 4
 The command to use for \fBmakepkg\fR calls. This can be a command in
@@ -181,7 +189,7 @@ The pacman config file to use\&.
 .RS 4
 The maximum amount of packages to request per AUR query\&. The higher the
 number the faster AUR requests will be\&. Requesting too many packages in one
-AUR query will cause an error\%. This should only make a noticeable difference
+AUR query will cause an error\&. This should only make a noticeable difference
 with very large requests (>500) packages\&.
 .RE
 .PP
@@ -247,6 +255,20 @@ only GitHub packages are supported\&.
 Do not check for development packages updates during sysupgrade\&.
 .RE
 .PP
+\fB\-\-gitclone\fR
+.RS 4
+Use git to download and update PKGBUILDs\&. PKGBUILDs previously downloaded
+using tarball will continue to use tarballs until the package is clean built\&.
+Similary, PKGBUILDs managed with git will continue to use git until the package
+is clean built.\&.
+.RE
+.PP
+\fB\-\-nogitclone\fR
+.RS 4
+Download and update PKGBUILDs using tarballs\&. The above conditions about
+previously installed packages still apply\&.
+.RE
+.PP
 \fB\-\-afterclean\fR
 .RS 4
 Remove package sources after successful Install\&.
@@ -383,7 +405,7 @@ Shows statistics for installed packages and system health\&.
 .RS 4
 The config directory is \fI$XDG_CONFIG_HOME/yay/\fR\&. if
 \fB$XDG_CONFIG_HOME\fR is unset, the config directory will fall back to
-\fI$HOME/.config/yay\fR\%.
+\fI$HOME/.config/yay\fR\&.
 .PP
 \fIconfig.json\fR\& Is used to store all of Yay's config options\&. Editing
 this file should be done through Yay, using the options