Commit 13f7b192 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Properly qute strings and variables. Fix documentation.

parent 61e8df1a
......@@ -5,7 +5,8 @@ scriptname=$0
function usage {
cat <<EOT
Usage:
$scriptname -h dbhost -P dbport -u dbuser -p dbpass -d dbname
${scriptname} -h dbhost [-P dbport] -u dbuser -p dbpass -d dbname
EOT
}
......@@ -15,7 +16,7 @@ if [[ ! -e ./manage_id_mapping_tables.pl ]]; then
exit
fi
dbport=3306
dbport="3306"
while getopts 'h:u:p:a:j:d:r:P:oci' opt; do
case ${opt} in
......@@ -44,5 +45,4 @@ fi
-pass ${dbpass} \
-dbname ${dbname}
# $Id$
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment