From 062b3438a2416442a726afc9bac26051ad7acdf0 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Thu, 4 Feb 2016 17:33:38 -0500 Subject: [PATCH] Added an example to `ipfs id` I was super confused how to use the `-f` flag. This helped, but I had to go into the test files to find it. Added it here. License: MIT Signed-off-by: Richard Littauer --- core/commands/id.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/commands/id.go b/core/commands/id.go index 722aec67a..d6d70c981 100644 --- a/core/commands/id.go +++ b/core/commands/id.go @@ -49,6 +49,10 @@ If no peer is specified, prints out information for local peers. : Protocol version. : Public key. : Addresses (newline delimited). + +EXAMPLE: + + ipfs id Qmece2RkXhsKe5CRooNisBTh4SK119KrXXGmoK6V3kb8aH -f="\n" `, }, Arguments: []cmds.Argument{