Blame SOURCES/mariadb-galera-new-cluster-help.patch

4b4994
--- mariadb-10.1.14/scripts/galera_new_cluster.sh.orig	2016-05-11 18:51:13.797926130 +0200
4b4994
+++ mariadb-10.1.14/scripts/galera_new_cluster.sh	2016-05-11 19:19:41.195591769 +0200
4b4994
@@ -5,6 +5,22 @@
4b4994
 # the Free Software Foundation; either version 2.1 of the License, or
4b4994
 # (at your option) any later version.
4b4994
 
4b4994
+if [ "${1}" == "-h" -o "${1}" == "--help" ]; then
4b4994
+    cat <
4b4994
+
4b4994
+Usage: ${0}
4b4994
+
4b4994
+    The script galera_new_cluster is used to bootstrap new Galera Cluster,
4b4994
+    when all the nodes are down. Run galera_new_cluster on the first node only.
4b4994
+    On the remaing nodes simply run 'service @DAEMON_NAME@ start'.
4b4994
+
4b4994
+    For more information on Galera Cluster configuration and usage see:
4b4994
+    https://mariadb.com/kb/en/mariadb/getting-started-with-mariadb-galera-cluster/
4b4994
+
4b4994
+EOF
4b4994
+    exit 0
4b4994
+fi 
4b4994
+
4b4994
 VERSION="@VERSION@@MYSQL_SERVER_SUFFIX@"
4b4994
 COMPILATION_COMMENT="@COMPILATION_COMMENT@"
4b4994