diff --git a/akka-docs/rst/java/cluster-usage.rst b/akka-docs/rst/java/cluster-usage.rst index bf3d55fe9e..df4ab2cf2f 100644 --- a/akka-docs/rst/java/cluster-usage.rst +++ b/akka-docs/rst/java/cluster-usage.rst @@ -692,7 +692,7 @@ Akka distribution. Run it without parameters to see instructions about how to use the script:: - Usage: bin/akka-cluster ... + Usage: bin/akka-cluster ... Supported commands are: join - Sends request a JOIN node with the specified URL @@ -710,9 +710,9 @@ Run it without parameters to see instructions about how to use the script:: Where the should be on the format of 'akka.://@:' - Examples: bin/akka-cluster localhost:9999 is-available - bin/akka-cluster localhost:9999 join akka.tcp://MySystem@darkstar:2552 - bin/akka-cluster localhost:9999 cluster-status + Examples: bin/akka-cluster localhost 9999 is-available + bin/akka-cluster localhost 9999 join akka.tcp://MySystem@darkstar:2552 + bin/akka-cluster localhost 9999 cluster-status To be able to use the script you must enable remote monitoring and management when starting the JVMs of the cluster nodes, diff --git a/akka-docs/rst/scala/cluster-usage.rst b/akka-docs/rst/scala/cluster-usage.rst index 5b60a12646..bb0bb55fa9 100644 --- a/akka-docs/rst/scala/cluster-usage.rst +++ b/akka-docs/rst/scala/cluster-usage.rst @@ -714,7 +714,7 @@ Akka distribution. Run it without parameters to see instructions about how to use the script:: - Usage: bin/akka-cluster ... + Usage: bin/akka-cluster ... Supported commands are: join - Sends request a JOIN node with the specified URL @@ -732,9 +732,9 @@ Run it without parameters to see instructions about how to use the script:: Where the should be on the format of 'akka.://@:' - Examples: bin/akka-cluster localhost:9999 is-available - bin/akka-cluster localhost:9999 join akka.tcp://MySystem@darkstar:2552 - bin/akka-cluster localhost:9999 cluster-status + Examples: bin/akka-cluster localhost 9999 is-available + bin/akka-cluster localhost 9999 join akka.tcp://MySystem@darkstar:2552 + bin/akka-cluster localhost 9999 cluster-status To be able to use the script you must enable remote monitoring and management when starting the JVMs of the cluster nodes, diff --git a/akka-kernel/src/main/dist/bin/akka-cluster b/akka-kernel/src/main/dist/bin/akka-cluster index 09e7167748..95eee59b35 100755 --- a/akka-kernel/src/main/dist/bin/akka-cluster +++ b/akka-kernel/src/main/dist/bin/akka-cluster @@ -45,7 +45,7 @@ case "$1" in join) if [ $# -ne 2 ]; then - echo "Usage: $SELF join " + echo "Usage: $SELF join " exit 1 fi @@ -56,7 +56,7 @@ case "$1" in leave) if [ $# -ne 2 ]; then - echo "Usage: $SELF leave " + echo "Usage: $SELF leave " exit 1 fi @@ -69,7 +69,7 @@ case "$1" in down) if [ $# -ne 2 ]; then - echo "Usage: $SELF down " + echo "Usage: $SELF down " exit 1 fi @@ -82,7 +82,7 @@ case "$1" in member-status) if [ $# -ne 1 ]; then - echo "Usage: $SELF member-status" + echo "Usage: $SELF member-status" exit 1 fi @@ -94,7 +94,7 @@ case "$1" in cluster-status) if [ $# -ne 1 ]; then - echo "Usage: $SELF cluster-status" + echo "Usage: $SELF cluster-status" exit 1 fi @@ -106,7 +106,7 @@ case "$1" in members) if [ $# -ne 1 ]; then - echo "Usage: $SELF members" + echo "Usage: $SELF members" exit 1 fi @@ -118,7 +118,7 @@ case "$1" in unreachable) if [ $# -ne 1 ]; then - echo "Usage: $SELF unreachable" + echo "Usage: $SELF unreachable" exit 1 fi @@ -130,7 +130,7 @@ case "$1" in leader) if [ $# -ne 1 ]; then - echo "Usage: $SELF leader" + echo "Usage: $SELF leader" exit 1 fi @@ -142,7 +142,7 @@ case "$1" in is-singleton) if [ $# -ne 1 ]; then - echo "Usage: $SELF is-singleton" + echo "Usage: $SELF is-singleton" exit 1 fi @@ -154,7 +154,7 @@ case "$1" in is-available) if [ $# -ne 1 ]; then - echo "Usage: $SELF is-available" + echo "Usage: $SELF is-available" exit 1 fi @@ -165,7 +165,7 @@ case "$1" in ;; *) - printf "Usage: bin/$SELF ...\n" + printf "Usage: bin/$SELF ...\n" printf "\n" printf "Supported commands are:\n" printf "%26s - %s\n" "join " "Sends request a JOIN node with the specified URL" @@ -180,9 +180,9 @@ case "$1" in printf "%26s - %s\n" is-available "Checks if the member node is available" printf "Where the should be on the format of 'akka://actor-system-name@hostname:port'\n" printf "\n" - printf "Examples: bin/$SELF localhost:9999 is-available\n" - printf " bin/$SELF localhost:9999 join akka://MySystem@darkstar:2552\n" - printf " bin/$SELF localhost:9999 cluster-status\n" + printf "Examples: bin/$SELF localhost 9999 is-available\n" + printf " bin/$SELF localhost 9999 join akka://MySystem@darkstar:2552\n" + printf " bin/$SELF localhost 9999 cluster-status\n" exit 1 ;; esac