Merge pull request #8044 from ipfs/chore/cmd-pin-rm-help

Add info to "pin rm" help about how to tell if pin is indirect
This commit is contained in:
Steven Allen 2021-04-02 10:11:19 -07:00 committed by GitHub
commit d7109e89d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
`,
},