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"