From a9a38fcd7aa4599d78fe9407d5f38c31394cd17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Dor=C5=88=C3=A1k?= Date: Sun, 30 Apr 2017 14:47:34 +1000 Subject: [PATCH] wsrep_new_cluster: Add -h and --help options From: https://github.com/devexp-db/mariadb/blob/f27/mariadb-galera-new-cluster-help.patch --- scripts/galera_new_cluster.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripts/galera_new_cluster.sh b/scripts/galera_new_cluster.sh index cf81bd0b95a..65ba2ca1fcc 100755 --- a/scripts/galera_new_cluster.sh +++ b/scripts/galera_new_cluster.sh @@ -5,6 +5,22 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. +if [ "${1}" == "-h" -o "${1}" == "--help" ]; then + cat <