summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorsheltren <sheltren>2005-08-21 16:29:32 +0000
committersheltren <sheltren>2005-08-21 16:29:32 +0000
commit7f20529487168d8955c7942c058bdd75b40e739c (patch)
tree00d6e97fbba36051b10f140ee5e78ba2cccf425a /docs
parentc3bc19ff6b676dbbf7529eb4cc6ab2df7edb4667 (diff)
downloadmock-7f20529487168d8955c7942c058bdd75b40e739c.tar.gz
mock-7f20529487168d8955c7942c058bdd75b40e739c.tar.xz
mock-7f20529487168d8955c7942c058bdd75b40e739c.zip
add commands to man page, create config files for legacy distributions
Diffstat (limited to 'docs')
-rw-r--r--docs/mock.110
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/mock.1 b/docs/mock.1
index d6ef1cc..4f7837d 100644
--- a/docs/mock.1
+++ b/docs/mock.1
@@ -4,7 +4,7 @@
mock \- build a SRPM in a chroot
.SH "SYNTAX"
.LP
-mock [\-r CHROOT] [\-\-no\-clean] [\-\-arch=ARCH] [\-\-debug] [\-\-resultdir=RESULTDIR] [\-\-statedir=STATEDIR] [\-\-uniqueext=UNIQUEEXT] \fIfilename\fR
+mock [\-r CHROOT] [\-\-no\-clean] [\-\-arch=ARCH] [\-\-debug] [\-\-resultdir=RESULTDIR] [\-\-statedir=STATEDIR] [\-\-uniqueext=UNIQUEEXT] [command] \fIfilename\fR
.SH "DESCRIPTION"
.LP
@@ -33,6 +33,14 @@ Show usage information and exit.
\fB\-\-version\fR
Show version number and exit.
.TP
+\fBcommand\fR is one of:
+.TP
+\fBinit\fR \- initialize a chroot (install packages, setup devices, etc.)
+.TP
+\fBclean\fR \- purge the chroot tree
+.TP
+\fBrebuild\fR \- If no command is specified, rebuild is assumed. Rebuilds the specified SRPM
+.TP
.SH "FILES"
.LP
\fI/etc/mock/\fP