changeset 260:c2cef3ce8853

db-setup script: Improved help message.
author Sascha Wilde <wilde@intevation.de>
date Fri, 27 Jul 2018 13:25:14 +0200
parents f1280801ba8c
children ab9859981ee3
files schema/install-db.sh
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/schema/install-db.sh	Fri Jul 27 13:09:13 2018 +0200
+++ b/schema/install-db.sh	Fri Jul 27 13:25:14 2018 +0200
@@ -8,12 +8,13 @@
 usage()
 {
   cat <<EOF
-$ME [OPION]...
+$ME [OPTION]...
 
 Options:
-  -d, --db=NAME    connect to the database NAME
-  -p, --port=PORT  connect do the postgresql cluster at PORT
-  -D, --demo       install demo accounts and data
+  -d, --db=NAME    create the database NAME.  Default: "gemma"
+  -p, --port=PORT  connect do the postgresql cluster at PORT.
+                   Default is the postgresql standard port 5432
+  -D, --demo       also install demo accounts and data
       --drop       drop database and all roles
       --help       display this help and exit