From aa4334a1727b94a66319f3a16df86266989de134 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 28 Dec 2006 13:43:25 +0000 Subject: [PATCH] Update emerge --metadata docs for more clarity. svn path=/main/trunk/; revision=5404 --- man/emerge.1 | 10 ++++++---- pym/emergehelp.py | 11 +++++++---- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/man/emerge.1 b/man/emerge.1 index 671c2203d..1357d3953 100644 --- a/man/emerge.1 +++ b/man/emerge.1 @@ -117,10 +117,12 @@ information when submitting a bug report.\fR Expanded output can be obtained with the \fI\-\-verbose\fR option. .TP .BR \-\-metadata -Causes portage to process all the metacache files as is normally done on the -tail end of an rsync update using \fBemerge \-\-sync\fR. The processing -creates the cache database that portage uses for pre\-parsed lookups of -package data. +Transfers metadata cache from ${PORTDIR}/metadata/cache/ to +/var/cache/edb/dep/ as is normally done on the +tail end of an rsync update using \fBemerge \-\-sync\fR. This process +populates the cache database that portage uses for pre-parsed lookups of +package data. It does not populate cache for the overlays listed in +PORTDIR_OVERLAY. In order to generate cache for overlays, use \fB\-\-regen\fR. .TP .BR "\-\-prune " (\fB\-P\fR) \fBWARNING: This action can remove important packages!\fR Prune looks at each diff --git a/pym/emergehelp.py b/pym/emergehelp.py index e9949dd2a..e7f87aacf 100644 --- a/pym/emergehelp.py +++ b/pym/emergehelp.py @@ -80,10 +80,13 @@ def help(myaction,myopts,havecolor=1): print " run with the '--verbose' flag." print print " "+green("--metadata") - print " Causes portage to process all the metacache files as is normally " - print " done on the tail end of an rsync update using "+bold("emerge --sync")+"." - print " This processing creates the cache database that portage uses for" - print " pre-parsed lookups of package data." + print " Transfers metadata cache from ${PORTDIR}/metadata/cache/ to" + print " /var/cache/edb/dep/ as is normally done on the tail end of an" + print " rsync update using " + bold("emerge --sync") + ". This process populates the" + print " cache database that portage uses for pre-parsed lookups of" + print " package data. It does not populate cache for the overlays" + print " listed in PORTDIR_OVERLAY. In order to generate cache for" + print " overlays, use " + bold("--regen") + "." print print " "+green("--prune")+" ("+green("-P")+" short option)" print " "+turquoise("WARNING: This action can remove important packages!") -- 2.26.2