From 916ae8d8dfe515d267671f64c7fcd7f57c231f8f Mon Sep 17 00:00:00 2001 From: rht Date: Mon, 19 Oct 2015 16:43:50 +0700 Subject: [PATCH] Add short flag for `ipfs ls --headers` (v for verbose) License: MIT Signed-off-by: rht --- core/commands/ls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/ls.go b/core/commands/ls.go index f44d505ce..26a23be78 100644 --- a/core/commands/ls.go +++ b/core/commands/ls.go @@ -44,7 +44,7 @@ it contains, with the following format: cmds.StringArg("ipfs-path", true, true, "The path to the IPFS object(s) to list links from").EnableStdin(), }, Options: []cmds.Option{ - cmds.BoolOption("headers", "", "Print table headers (Hash, Name, Size)"), + cmds.BoolOption("headers", "v", "Print table headers (Hash, Name, Size)"), }, Run: func(req cmds.Request, res cmds.Response) { node, err := req.InvocContext().GetNode()