From 30810aace493dab715cc1c01127cb5a3c3a535cd Mon Sep 17 00:00:00 2001 From: Lewis Marshall Date: Fri, 15 Sep 2017 22:58:26 +0100 Subject: [PATCH] cmd: Move p2psim into top-level cmd directory Signed-off-by: Lewis Marshall --- {p2p/simulations/cmd => cmd}/p2psim/main.go | 0 p2p/simulations/README.md | 2 +- p2p/simulations/examples/ping-pong.sh | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {p2p/simulations/cmd => cmd}/p2psim/main.go (100%) diff --git a/p2p/simulations/cmd/p2psim/main.go b/cmd/p2psim/main.go similarity index 100% rename from p2p/simulations/cmd/p2psim/main.go rename to cmd/p2psim/main.go diff --git a/p2p/simulations/README.md b/p2p/simulations/README.md index 4f495c37db..d1f8649eae 100644 --- a/p2p/simulations/README.md +++ b/p2p/simulations/README.md @@ -157,7 +157,7 @@ ID. ## Command line client `p2psim` is a command line client for the HTTP API, located in -`p2p/simulations/cmd/p2psim`. +`cmd/p2psim`. It provides the following commands: diff --git a/p2p/simulations/examples/ping-pong.sh b/p2p/simulations/examples/ping-pong.sh index 4d7bd06a80..47936bd9a0 100755 --- a/p2p/simulations/examples/ping-pong.sh +++ b/p2p/simulations/examples/ping-pong.sh @@ -6,7 +6,7 @@ set -e main() { if ! which p2psim &>/dev/null; then - fail "missing p2psim binary (you need to build p2p/simulations/cmd/p2psim and put it in \$PATH)" + fail "missing p2psim binary (you need to build cmd/p2psim and put it in \$PATH)" fi info "creating 10 nodes"