From 3bca93787a7af6e0ad0f4b6866d698f1c614cf79 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Thu, 28 Jan 2021 17:23:46 +0100 Subject: [PATCH] docs: comma delimited options in pin remote --help This adds clarification suggested in https://github.com/ipfs/go-ipfs/pull/7823#pullrequestreview-577889138 --- core/commands/pin/remotepin.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/commands/pin/remotepin.go b/core/commands/pin/remotepin.go index 9d1e3d60b..c7b365f8e 100644 --- a/core/commands/pin/remotepin.go +++ b/core/commands/pin/remotepin.go @@ -112,7 +112,14 @@ after remote service confirms 'queued' status, add the '--background' flag: $ ipfs pin remote add --service=mysrv --name=mypin --background bafkqaaa -Status of background pin requests can be inspected with the 'ls' command: +Status of background pin requests can be inspected with the 'ls' command. + +To list all pins for the CID across all statuses: + + $ ipfs pin remote ls --service=mysrv --cid=bafkqaaa --status=queued \ + --status=pinning --status=pinned --status=failed + +NOTE: a comma-separated notation is supported in CLI for convenience: $ ipfs pin remote ls --service=mysrv --cid=bafkqaaa --status=queued,pinning,pinned,failed -- GitLab