From 42cba531656fec8522ee04fc3302314e6a34c60a Mon Sep 17 00:00:00 2001 From: morganamilo Date: Thu, 27 Sep 2018 16:08:00 +0100 Subject: [PATCH] Update doc for --afterclean and fix typo --- doc/yay.8 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/yay.8 b/doc/yay.8 index 5b8bce0c..15aab6e1 100644 --- a/doc/yay.8 +++ b/doc/yay.8 @@ -134,7 +134,7 @@ Only show titles when printing news. .B \-f, \-\-force Force download for packages that already exist in the current directory. This is to ensure directories are not accidentally overwritten. This option is not -needed for git based downloads as \fBgit pull\fR already has saftey mechanisms. +needed for git based downloads as \fBgit pull\fR already has safety mechanisms. .SH PERMANENT CONFIGURATION SETTINGS .TP @@ -362,6 +362,12 @@ previously installed packages still apply. .B \-\-afterclean Remove package sources after successful Install. +For packages downloaded through git, untracked files are removed with the +exception of directories. This allows VCS packages to ealily pull an update +instead of having to re clone the entire repo. + +For packages downloaded via tarball, The entire directory is deleted. + .TP .B \-\-noafterclean Do not remove package sources after successful Install.