Skip to content

Commit

Permalink
Update doc for --afterclean and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Sep 27, 2018
1 parent 98e6cae commit 42cba53
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/yay.8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 42cba53

Please sign in to comment.