Skip to content

Commit

Permalink
Add info to "pin rm" help about how to tell if a pin is indirectly pi…
Browse files Browse the repository at this point in the history
…nned.

Addresses issue #7440
  • Loading branch information
gammazero committed Apr 2, 2021
1 parent 873b913 commit 8eefcce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/commands/pin/pin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cid>
`,
},

Expand Down

0 comments on commit 8eefcce

Please sign in to comment.