[Yum-devel] [PATCH] Clarify that -C uses the system cache, not the user one.

Ville Skyttä ville.skytta at iki.fi
Fri Oct 23 18:59:07 UTC 2009


http://yum.baseurl.org/ticket/310
---
 cli.py     |    2 +-
 docs/yum.8 |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cli.py b/cli.py
index ef23717..5eed6c4 100644
--- a/cli.py
+++ b/cli.py
@@ -1301,7 +1301,7 @@ class YumOptionParser(OptionParser):
         group.add_option("-t", "--tolerant", action="store_true",
                 help=_("be tolerant of errors"))
         group.add_option("-C", dest="cacheonly", action="store_true",
-                help=_("run entirely from cache, don't update cache"))
+                help=_("run entirely from system cache, don't update cache"))
         group.add_option("-c", dest="conffile", default='/etc/yum/yum.conf',
                 help=_("config file location"), metavar=' [config file]')
         group.add_option("-R", dest="sleeptime", type='int', default=None,
diff --git a/docs/yum.8 b/docs/yum.8
index e2fbe3c..3e3355b 100644
--- a/docs/yum.8
+++ b/docs/yum.8
@@ -287,8 +287,8 @@ Configuration Option: \fBerrorlevel\fP
 .IP "\fB\-R [time in minutes]\fP" 
 Sets the maximum amount of time yum will wait before performing a command \- it randomizes over the time.
 .IP "\fB\-C\fP" 
-Tells yum to run entirely from cache - does not download or update any
-headers unless it has to to perform the requested action.
+Tells yum to run entirely from system cache - does not download or
+update any headers unless it has to to perform the requested action.
 .IP "\fB\-\-version\fP" 
 Reports the \fByum\fP version number and installed package versions for
 everything in history_record_packages (can be added to by plugins).
-- 
1.6.2.5



More information about the Yum-devel mailing list