MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Jonathan Perkin Date:January 10 2008 1:24pm
Subject:bk commit into 5.0 tree (jperkin:1.2590) BUG#30954
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of jperkin.  When jperkin does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-01-10 13:24:04+00:00, jperkin@stripped +1 -0
  bug#30954: add usage, handle command line options.

  support-files/binary-configure.sh@stripped, 2008-01-10 13:21:23+00:00, jperkin@stripped +23 -0
    Add usage.

diff -Nrup a/support-files/binary-configure.sh b/support-files/binary-configure.sh
--- a/support-files/binary-configure.sh	2003-03-21 16:53:54 +00:00
+++ b/support-files/binary-configure.sh	2008-01-10 13:21:23 +00:00
@@ -1,4 +1,27 @@
 #!/bin/sh
+
+SCRIPT_NAME="`basename $0`"
+
+usage()
+{
+  echo "Usage: ${SCRIPT_NAME} [--help|-h]"
+  echo
+  echo "This script creates the MySQL system tables and starts the server."
+}
+
+for arg do
+  case "$arg" in
+    --help|-h)
+      usage
+      exit 2
+      ;;
+    *)
+      echo "${SCRIPT_NAME}: unknown option $arg"
+      usage
+      exit 2
+  esac
+done
+
 if test ! -x  ./scripts/mysql_install_db
 then
   echo "I didn't find the script './scripts/mysql_install_db'."
Thread
bk commit into 5.0 tree (jperkin:1.2590) BUG#30954Jonathan Perkin10 Jan