summaryrefslogtreecommitdiffstats
path: root/py/mock.py
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-12-12 15:49:49 -0600
committerMichael E Brown <mebrown@michaels-house.net>2007-12-12 15:49:49 -0600
commitf50af0f1c32a4162f48580609806e83c6c86d644 (patch)
tree16500f9d489f9a8a574f09ec496e514870ace59a /py/mock.py
parente3569ae6c26d121f8ed72f72c480339005d053a8 (diff)
downloadmock-f50af0f1c32a4162f48580609806e83c6c86d644.tar.gz
mock-f50af0f1c32a4162f48580609806e83c6c86d644.tar.xz
mock-f50af0f1c32a4162f48580609806e83c6c86d644.zip
fix --shell
Diffstat (limited to 'py/mock.py')
-rwxr-xr-xpy/mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mock.py b/py/mock.py
index c4b9a68..80e7fbf 100755
--- a/py/mock.py
+++ b/py/mock.py
@@ -69,7 +69,7 @@ def command_parse(config_opts):
dest="mode", default='rebuild',
help="rebuild the specified SRPM(s)")
parser.add_option("--chroot", "--shell", action="store_const",
- const="chroot", dest="mode",
+ const="shell", dest="mode",
help="run the specified command within the chroot."
" Default command: /bin/sh")
parser.add_option("--clean", action="store_const", const="clean",