Update pacman manpage with description of --clean option

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-12-05 20:34:38 -06:00
parent c49b2a00d6
commit f0664fbd93
1 changed files with 12 additions and 7 deletions

View File

@ -212,10 +212,14 @@ Remove Options[[RO]]
Sync Options[[SO]] Sync Options[[SO]]
------------------ ------------------
*-c, \--clean*:: *-c, \--clean*::
Remove old packages from the cache to free up disk space. When pacman Remove old packages from the cache as well as unused sync databases to
downloads packages, it saves them in ``/var/cache/pacman/pkg''. Use one free up disk space. When pacman downloads packages, it saves them in a
'\--clean' switch to remove old packages; use two to remove all packages cache directory. In addition, databases are saved for every sync DB you
from the cache. download from, and are not deleted even if they are removed from the
configuration file manlink:pacman.conf[5]. Use one '\--clean' switch to
only remove old packages; use two to remove all packages from the cache.
In both cases, you will have a yes or no option to remove packages and/or
unused downloaded databases.
*-e, \--dependsonly*:: *-e, \--dependsonly*::
Install all dependencies of a package, but not the specified package Install all dependencies of a package, but not the specified package
@ -257,9 +261,10 @@ Sync Options[[SO]]
*-y, \--refresh*:: *-y, \--refresh*::
Download a fresh copy of the master package list from the server(s) Download a fresh copy of the master package list from the server(s)
defined in pacman.conf. This should typically be used each time you use defined in manlink:pacman.conf[5]. This should typically be used each time
'\--sysupgrade' or '-u'. Passing two '\--refresh' or '-y' flags will force you use '\--sysupgrade' or '-u'. Passing two '\--refresh' or '-y' flags
a refresh of all package lists even if they are thought to be up to date. will force a refresh of all package lists even if they are thought to be up
to date.
*\--needed*:: *\--needed*::
Only install the targets that are not already installed and up-to-date. Only install the targets that are not already installed and up-to-date.