[yum-commits] Branch 'yum-3_2_X' - cli.py docs/yum.8

Ville Skyttä scop at osuosl.org
Sat Oct 24 10:48:32 UTC 2009


 cli.py     |    2 +-
 docs/yum.8 |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit f50ddc622ee204ae6d86e1362e69e09737a2de95
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Oct 23 21:55:30 2009 +0300

    Clarify that -C uses the system cache, not the user one.
    
    http://yum.baseurl.org/ticket/310

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).


More information about the Yum-commits mailing list