# HG changeset patch # User John Floren # Date 1315956300 25200 # Node ID e9b05118c9c2589542aa16da28aad740519f61ae # Parent 4094ae2d88194beff32bcce880d9cb1ace9fa6b5 pm: updated manual page with new behavior of install. Removed outdated examples. R=nix-dev, rminnich CC=nix-dev http://codereview.appspot.com/5007045 diff -r 4094ae2d8819 -r e9b05118c9c2 sys/man/1/pm --- a/sys/man/1/pm Tue Sep 13 16:00:01 2011 -0700 +++ b/sys/man/1/pm Tue Sep 13 16:25:00 2011 -0700 @@ -3,6 +3,9 @@ install, list, pull, clean, depclean, remove \- package management scripts .SH SYNOPSIS .B pm/install +[ +.B -f +] .I category/name .br .B pm/list @@ -61,7 +64,9 @@ .I pm/install Installs the package and any necessary dependencies. The specified package will be automatically downloaded using the .B pm/pull -command, as will any dependencies. +command, as will any dependencies. By default, existing files will not be overwritten. The +.B -f +option forces the overwriting of existing files. .TP .I pm/list List the available packages, one per line, with no additional description, suitable for further processing. The @@ -73,12 +78,6 @@ .I pm/pull Download the specified package from the package repository. This is not necessary for installation tasks, but may be of interest if you wish to examine the package prior to installing. .TP -.I pm/clean -Removes downloaded files for the specified package, to save space. -.TP -.I pm/depclean -Cleans up the specified packages and all of its dependencies, recursively. -.TP .I pm/remove Deletes files installed by the specified package. Does not remove dependency packages, as they may be needed by other packages. .SH EXAMPLES @@ -86,16 +85,9 @@ Install Mercurial. .sp 1 .EX -% pm/pull devel/mercurial % pm/install devel/mercurial .EE .PP -Remove the downloaded tar files and any temporary directories created in the process of installing Mercurial and its dependencies. -.sp 1 -.EX -% pm/depclean devel/mercurial -.EE -.PP Remove Mercurial, leaving any dependencies installed. .sp 1 .EX