Cleaned up `ipfs id` mans
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
Richard Littauer committed
Feb 2, 2016 at 16:58 UTC
e51b82149ae924c364dc064469e7df32cf070671
1 file changed
+9
-16
core/commands/id.go
+9
-16
@@ -19,13 +19,6 @@ import (
19
u "github.com/ipfs/go-ipfs/util"
20
)
21
22
-const offlineIdErrorMessage = `ID command fails when run without daemon, we are working to fix this.
23
-In the meantime, please run the daemon if you want to use 'ipfs id':
24
-
25
- ipfs daemon &
26
- ipfs id QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
27
-`
28
-
22
type IdOutput struct {
23
ID string
24
PublicKey string
@@ -38,15 +31,15 @@ var IDCmd = &cmds.Command{
31
Helptext: cmds.HelpText{
32
Tagline: "Show IPFS Node ID info.",
33
ShortDescription: `
41
-Prints out information about the specified peer,
42
-if no peer is specified, prints out local peers info.
43
-
44
-ipfs id supports the format option for output with the following keys:
45
-<id> : the peers id
46
-<aver>: agent version
47
-<pver>: protocol version
48
-<pubkey>: public key
49
-<addrs>: addresses (newline delimited)
34
+Prints out information about the specified peer.
35
+If no peer is specified, prints out information for local peers.
36
+
37
+'ipfs id' supports the format option for output with the following keys:
38
+<id> : The peers id.
39
+<aver>: Agent version.
40
+<pver>: Protocol version.
41
+<pubkey>: Public key.
42
+<addrs>: Addresses (newline delimited).
43
`,
44
},
45
Arguments: []cmds.Argument{