From 6a3578be840d997bf7566f6608592ffd1e037882 Mon Sep 17 00:00:00 2001 From: anarcat Date: Sat, 7 Mar 2015 08:32:48 -0500 Subject: [PATCH] explain what direct/indirect/recursive means i couldn't understand what those meant. it was explain (at least partly) in #590 so let's share the goods! --- core/commands/pin.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/commands/pin.go b/core/commands/pin.go index cc4da82c3..5f9b8dc04 100644 --- a/core/commands/pin.go +++ b/core/commands/pin.go @@ -160,11 +160,12 @@ Returns a list of hashes of objects being pinned. Objects that are indirectly or recursively pinned are not included in the list. Use --type= to specify the type of pinned keys to list. Valid values are: - * "direct" - * "indirect" - * "recursive" + * "direct": pin that specific object. + * "recursive": pin that specific object, and indirectly pin all its decendants + * "indirect": pinned indirectly by an ancestor (like a refcount) * "all" -(Defaults to "direct") + +Defaults to "direct". `, },