Skip to content

Commit

Permalink
Added an example to ipfs id
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
RichardLitt committed Feb 4, 2016
1 parent 268ec78 commit d6112fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/commands/id.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ ipfs id supports the format option for output with the following keys:
<pver>: protocol version
<pubkey>: public key
<addrs>: addresses (newline delimited)
Example:
$ ipfs id Qmece2RkXhsKe5CRooNisBTh4SK119KrXXGmoK6V3kb8aH -f="<addrs>\n"
`,
},
Arguments: []cmds.Argument{
Expand Down

0 comments on commit d6112fe

Please sign in to comment.