From 4589bf1310a44608fefac827f5d796437ef027ae Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Thu, 30 Jan 2014 15:57:24 +0000 Subject: Improve help for gc command --- morphlib/plugins/gc_plugin.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/morphlib/plugins/gc_plugin.py b/morphlib/plugins/gc_plugin.py index abfa1a30..b003a9a0 100644 --- a/morphlib/plugins/gc_plugin.py +++ b/morphlib/plugins/gc_plugin.py @@ -49,13 +49,16 @@ class GCPlugin(cliapp.Plugin): def gc(self, args): '''Make space by removing unused files. - This removes all artifacts older than - --cachedir-artifact-delete-older-than, and may delete artifacts - older than --cachedir-artifact-keep-younger-than if it still - needs to make space. + This command removes all artifacts older than + --cachedir-artifact-delete-older-than if the file system + that holds the cache directory has less than --cachedir-min-space + bytes free. - This removes extracted chunks and staging areas for failed builds - from the directory specified by --tempdir. + It may delete artifacts older than + --cachedir-artifact-keep-younger-than if it still needs to make space. + + It also removes any left over temporary chunks and staging areas + from failed builds. ''' -- cgit v1.2.1