summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-01-30 15:57:24 (GMT)
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-01-30 16:20:18 (GMT)
commit4589bf1310a44608fefac827f5d796437ef027ae (patch)
tree5a551f66934c827b071bba80020a52c69a22d8de
parentce55361b1d67dd9ed4a9b3660b43ec3485f63a62 (diff)
downloadmorph-richardipsum/gc_plugin_improve_help.tar.gz
Improve help for gc commandrichardipsum/gc_plugin_improve_help
-rw-r--r--morphlib/plugins/gc_plugin.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/morphlib/plugins/gc_plugin.py b/morphlib/plugins/gc_plugin.py
index abfa1a3..b003a9a 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.
'''