@cryptotaxi247 / kubo / commits / 8eefcce4a

Add info to "pin rm" help about how to tell if a pin is indirectly pinned.

Addresses issue #7440

gammazero committed Apr 1, 2021 at 18:33 UTC 8eefcce4a1af26dfe99b4a37cef9c621abd42b33
1 file changed +8
core/commands/pin/pin.go
+8
@@ -204,6 +204,14 @@ var rmPinCmd = &cmds.Command{
204 ShortDescription: `
205 Removes the pin from the given object allowing it to be garbage
206 collected if needed. (By default, recursively. Use -r=false for direct pins.)
207 +`,
208 + LongDescription: `
209 +Removes the pin from the given object allowing it to be garbage
210 +collected if needed. (By default, recursively. Use -r=false for direct pins.)
211 +
212 +A pin may not be removed because the specified object is not pinned or pinned
213 +indirectly. To determine if the object is pinned indirectly, use the command:
214 +ipfs pin ls -t indirect <cid>
215 `,
216 },
217