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 <richard.littauer@gmail.com>
Richard Littauer committed
Feb 4, 2016 at 17:33 UTC
062b3438a2416442a726afc9bac26051ad7acdf0
1 file changed
+4
core/commands/id.go
+4
@@ -49,6 +49,10 @@ If no peer is specified, prints out information for local peers.
49
<pver>: Protocol version.
50
<pubkey>: Public key.
51
<addrs>: Addresses (newline delimited).
52
+
53
+EXAMPLE:
54
+
55
+ ipfs id Qmece2RkXhsKe5CRooNisBTh4SK119KrXXGmoK6V3kb8aH -f="<addrs>\n"
56
`,
57
},
58
Arguments: []cmds.Argument{