Skip to content

Commit

Permalink
Tweaks wording on dht 'put' and 'get'.
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
  • Loading branch information
hackergrrl committed Apr 20, 2016
1 parent fff849b commit 5021c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/commands/dht.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ var getValueDhtCmd = &cmds.Command{
ShortDescription: `
Outputs the best value for the given key.
There may be several different values for a given key stored in the DHT, so this context 'best' means the record that is most desirable. There is no one metric for 'best': it depends entirely on the key type. For IPNS, 'best' is the record that is both valid and has the highest sequence number (freshest). Different key types can specify other 'best' rules.
There may be several different values for a given key stored in the DHT; in this context 'best' means the record that is most desirable. There is no one metric for 'best': it depends entirely on the key type. For IPNS, 'best' is the record that is both valid and has the highest sequence number (freshest). Different key types can specify other 'best' rules.
`,
},

Expand Down Expand Up @@ -438,7 +438,7 @@ Given a key of the form /foo/bar and a value of any form, this will write that v
Keys have two parts: a keytype (foo) and the key name (bar). IPNS uses the /ipns keytype, and expects the key name to be a Peer ID. IPNS entries are specifically formatted (protocol buffer).
You may only use keytypes that are supported in your ipfs binary: currently this is only /ipns. (READ: unless you know what you're doing, you're better off using 'ipfs name publish' instead of this.)
You may only use keytypes that are supported in your ipfs binary: currently this is only /ipns. Unless you have a relatively deep understanding of go-ipfs' DHT internals, you likely want to be using 'ipfs name publish' instead of this.)
Value is arbitrary text. Standard input can be used to provide value.
Expand Down

0 comments on commit 5021c4b

Please sign in to comment.