From 8eefcce4a1af26dfe99b4a37cef9c621abd42b33 Mon Sep 17 00:00:00 2001 From: gammazero Date: Thu, 1 Apr 2021 18:33:18 -0700 Subject: [PATCH] Add info to "pin rm" help about how to tell if a pin is indirectly pinned. Addresses issue #7440 --- core/commands/pin/pin.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/commands/pin/pin.go b/core/commands/pin/pin.go index de8098b5d..49c1581f4 100644 --- a/core/commands/pin/pin.go +++ b/core/commands/pin/pin.go @@ -204,6 +204,14 @@ var rmPinCmd = &cmds.Command{ ShortDescription: ` Removes the pin from the given object allowing it to be garbage collected if needed. (By default, recursively. Use -r=false for direct pins.) +`, + LongDescription: ` +Removes the pin from the given object allowing it to be garbage +collected if needed. (By default, recursively. Use -r=false for direct pins.) + +A pin may not be removed because the specified object is not pinned or pinned +indirectly. To determine if the object is pinned indirectly, use the command: +ipfs pin ls -t indirect `, },