diff --git a/cmd.go b/cmd.go index 738d1ea9..c7bd5901 100644 --- a/cmd.go +++ b/cmd.go @@ -39,6 +39,7 @@ Permanent configuration options: --save Causes the following options to be saved back to the config file when used + --aururl Set an alternative AUR URL --builddir Directory used to download and run PKBUILDS --editor Editor to use when editing PKGBUILDs --editorflags Pass arguments to editor diff --git a/doc/yay.8 b/doc/yay.8 index 66c310e5..6f389d85 100644 --- a/doc/yay.8 +++ b/doc/yay.8 @@ -136,6 +136,11 @@ Causes the following options to be saved back to the config file. This provides an easy way to change config options without directly editing the file. +.TP +.B \-\-aururl +Set an alternative AUR URL. This is mostly useful for users in china who wish +to use https://aur.tuna.tsinghua.edu.cn/. + .TP .B \-\-builddir Directory to use for Building AUR Packages. This directory is also used as