summaryrefslogtreecommitdiff
path: root/manpages/lh_clean.1
diff options
context:
space:
mode:
Diffstat (limited to 'manpages/lh_clean.1')
-rw-r--r--manpages/lh_clean.120
1 files changed, 18 insertions, 2 deletions
diff --git a/manpages/lh_clean.1 b/manpages/lh_clean.1
index 1c56824..18722b3 100644
--- a/manpages/lh_clean.1
+++ b/manpages/lh_clean.1
@@ -1,4 +1,4 @@
-.TH LH_CLEAN 1 "2007\-04\-02" "1.0~a4" "live\-helper"
+.TH LH_CLEAN 1 "2007\-04\-09" "1.0~a5" "live\-helper"
.SH NAME
lh_clean \- clean up system build directories
@@ -11,7 +11,23 @@ lh_clean \- clean up system build directories
lh_clean is a live\-helper program that is responsible for cleaning up after a system is built. It removes the system build directories, and removes some other files including stage files, and any detritus left behind by other live\-helper commands.
.SH OPTIONS
-lh_clean has no options (FIXME).
+The following command line options are supported by lh_clean.
+.IP "\fBall\fR" 4
+removes chroot, binary, lock, stage, and source. This is the default operation.
+.IP "\fBcache\fR" 4
+removes all cache directories.
+.IP "\fBchroot\fR" 4
+unmounts and removes the chroot directory. If bootstrap cache is available, the system is reset to bootstrap stage.
+.IP "\fBbinary\fR" 4
+removes all binary related caches, directories, and stages files.
+.IP "\fBlock\fR" 4
+removes all lock files.
+.IP "\fBpurge\fR" 4
+removes everything (including cache) but config.
+.IP "\fBstage\fR" 4
+removes all stage files.
+.IP "\fBsource\fR" 4
+removes all source related caches, directories, and stage files.
.SH SEE ALSO
\fIlive\-helper\fR(7)