From f6a1be68ab580e52d2d04e424aa147fb1a37daa6 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Thu, 12 May 2016 11:41:19 -0400 Subject: [PATCH] pin ls: Remove count option, add Default to quiet 'count' is never referenced in the code, and adds nothing when run with `ipfs pin ls` currently. I have removed it; add it again when there is actual logic to reflect. Also, added a Default(false) to quiet. Part of #2484 License: MIT Signed-off-by: Richard Littauer --- core/commands/pin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/commands/pin.go b/core/commands/pin.go index d07211e46..2803922c0 100644 --- a/core/commands/pin.go +++ b/core/commands/pin.go @@ -188,8 +188,7 @@ Example: }, Options: []cmds.Option{ cmds.StringOption("type", "t", "The type of pinned keys to list. Can be \"direct\", \"indirect\", \"recursive\", or \"all\".").Default("all"), - cmds.BoolOption("count", "n", "Show refcount when listing indirect pins."), - cmds.BoolOption("quiet", "q", "Write just hashes of objects."), + cmds.BoolOption("quiet", "q", "Write just hashes of objects.").Default(false), }, Run: func(req cmds.Request, res cmds.Response) { n, err := req.InvocContext().GetNode()