From 15d827b912c94e67152ed771e7a463cac9c4f429 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Wed, 3 Feb 2016 09:22:53 -0800 Subject: [PATCH] reword error message to confuse whyrusleeping less License: MIT Signed-off-by: Jeromy --- core/commands/id.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/commands/id.go b/core/commands/id.go index 48adee112..722aec67a 100644 --- a/core/commands/id.go +++ b/core/commands/id.go @@ -19,6 +19,15 @@ import ( u "github.com/ipfs/go-ipfs/util" ) +const offlineIdErrorMessage = `'ipfs id' currently cannot query information on remote +peers without a running daemon; we are working to fix this. +In the meantime, if you want to query remote peers using 'ipfs id', +please run the daemon: + + ipfs daemon & + ipfs id QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ +` + type IdOutput struct { ID string PublicKey string