@cryptotaxi247 / kubo / commits / 15d827b91

reword error message to confuse whyrusleeping less

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Jeromy committed Feb 3, 2016 at 09:22 UTC 15d827b912c94e67152ed771e7a463cac9c4f429
1 file changed +9
core/commands/id.go
+9
@@ -19,6 +19,15 @@ import (
19 u "github.com/ipfs/go-ipfs/util"
20 )
21
22 +const offlineIdErrorMessage = `'ipfs id' currently cannot query information on remote
23 +peers without a running daemon; we are working to fix this.
24 +In the meantime, if you want to query remote peers using 'ipfs id',
25 +please run the daemon:
26 +
27 + ipfs daemon &
28 + ipfs id QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
29 +`
30 +
31 type IdOutput struct {
32 ID string
33 PublicKey string