From d6112fe1e25c4458ed4b3ad66c403088f3167372 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 82e2448d15d0..82469c6e226e 100644 --- a/core/commands/id.go +++ b/core/commands/id.go @@ -47,6 +47,10 @@ ipfs id supports the format option for output with the following keys: : protocol version : public key : addresses (newline delimited) + +Example: + + $ ipfs id Qmece2RkXhsKe5CRooNisBTh4SK119KrXXGmoK6V3kb8aH -f="\n" `, }, Arguments: []cmds.Argument{