summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjcwillia <jcwillia>2006-07-17 15:04:00 +0000
committerjcwillia <jcwillia>2006-07-17 15:04:00 +0000
commit3bbade9a0fc140bcde86c4b1ba1267bc1f712f0c (patch)
tree9086a906160103e5ebcffa9ed5c2e7e7b8ee8ab8
parent81d46b68b645e885001ae44f863d6b736fe8c7d7 (diff)
updated to include "chroot" command in usage and man page
-rw-r--r--docs/mock.12
-rw-r--r--mock.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/mock.1 b/docs/mock.1
index 4f7837d..d2f7635 100644
--- a/docs/mock.1
+++ b/docs/mock.1
@@ -37,6 +37,8 @@ Show version number and exit.
.TP
\fBinit\fR \- initialize a chroot (install packages, setup devices, etc.)
.TP
+\fBchroot\fR \- run the specified command within the chroot (which must already be initialized)
+.TP
\fBclean\fR \- purge the chroot tree
.TP
\fBrebuild\fR \- If no command is specified, rebuild is assumed. Rebuilds the specified SRPM
diff --git a/mock.py b/mock.py
index 59d6319..64b964e 100644
--- a/mock.py
+++ b/mock.py
@@ -791,6 +791,7 @@ def command_parse():
usage = """
usage: mock [options] /path/to/srpm
optional commands:
+ chroot - run the specified command within the chroot
clean - clean out the specified chroot
init - initialize the chroot, do not build anything"""
parser = OptionParser(usage=usage, version=__VERSION__)