diff -ruP mock/mock.py mock-cfg/mock.py
--- mock/mock.py	2006-05-24 11:04:17.000000000 -0500
+++ mock-cfg/mock.py	2006-06-06 16:04:48.000000000 -0500
@@ -751,8 +751,10 @@
                       help="Change where config files are found")
     parser.add_option("--quiet", action ="store_true", dest="quiet", 
             default=False, help="quiet down output")
+    parser.add_option("--nocache", action ="store_false", dest="use_cache",
+            help="Turn off build-root caching")
     parser.add_option("--autocache", action ="store_true", dest="use_cache",
-            default=False, help="Turn on build-root caching")
+            default=None, help="Turn on build-root caching")
     parser.add_option("--rebuildcache", action ="store_true", dest="rebuild_cache",
             default=False, help="Force rebuild of build-root cache")
 
@@ -806,7 +808,11 @@
     config_opts['clean'] = options.clean
     config_opts['debug'] = options.debug
     config_opts['quiet'] = options.quiet
-    config_opts['use_cache'] = options.use_cache
+
+    # allow set of use_cache in config file
+    if options.use_cache is not None:
+    	config_opts['use_cache'] = options.use_cache
+
     config_opts['rebuild_cache'] = options.rebuild_cache
     if config_opts['rebuild_cache']: 
         config_opts['use_cache'] = True
