diff --git a/spod-manager.sh b/spod-manager.sh index a4a7767..3461016 100755 --- a/spod-manager.sh +++ b/spod-manager.sh @@ -111,23 +111,25 @@ DB="db_dump/oxwall1709.sql" while true; do case "$1" in -h|--help) - echo "$SCRIPT_NAME is manager tool for SPOD application of ROUTE-TO-PA European project all rights are reserved. 2015" - echo " " - echo "list of arguments:" - echo "-h, --help show commands help" - echo "-a, --action=ACTION specify an action install, uninstall, update, backup, restoredb, restoreall." - echo "-m, --mysql-username=username specify the username of mysql (*)." - echo "-n, --mysql-password=password specify the password of mysql server (*)." - echo "-o, --mysql-address=address specify the address of mysql server (deafult is localhost)." - echo "-p, --spod-git-username=user specify the user name of SPOD git server (*)." - echo "-q, --spod-git-email=email specify the email of SPOD git server (*)." - echo "-r, --spod-git-password=password specify the passoword of SPOD git server (*)." - echo "-s, --spod-git-address=address:port specify the SPOD git server (deafult is service.routetopa.eu:7480)." - echo "-w, --spod-hostname=hostname specify the SPOD host name (example http://spod.routetopa.eu/)." - echo "-d, --spod-database-version=db specify the SPOD db git path located in db_dump of SPOD git core (example in backup action: oxwall_v.0.1_antares.sql, deafults is really simple SPOD and Oxwall installationi; in restore action use a local db dump)." - echo "-e, --spod-www-backup=www-folder specify the SPOD www folder path." - echo "-b, --backup-dir=DIR specify the directory where store the spod backup (default is current directory)." - echo "* the arguments is required." + echo "$SCRIPT_NAME is package for the installation, update, backup and restore of a Social Platform for Open Data (SPOD) application. +SPOD enables social interactions among open data users and between open data users and government data. http://spod.routetopa.eu" + echo " " + echo "list of arguments:" + echo "-h, --help show commands help." + echo "-a, --action=ACTION define the action [install, uninstall, update, backup, restoredb, restoreall] (*)." + echo "-m, --mysql-username=username mysql server username (*)." + echo "-n, --mysql-password=password mysql server password (*)." + echo "-o, --mysql-address=address mysql server hostname or ip address (deafult is localhost)." + echo "-p, --spod-git-username=user SPOD Git server user name (*)." + echo "-q, --spod-git-email=email SPOD Git server user email (*)." + echo "-r, --spod-git-password=password SPOD Git server password (*)." + echo "-s, --spod-git-address=address:port SPOD Git server hostname or address (deafult is http://service.routetopa.eu:7480)." + echo "-w, --spod-hostname=hostname SPOD hostname (example http://spod.routetopa.eu/)." + echo "-e, --spod-www-backup=www-folder SPOD backup folder path (defauld is current directory)." + echo "-d, --spod-database-version=db SPOD db name. For installation, it is the name of a db file on the spod-core/db_dump folder (example oxwall_v.0.1_antares.sql). For restoredb and restoreall, it is the db file absolute path)." + echo " -b, --backup-dir=DIR SPOD backup directory (default is current directory)." + echo "* the arguments is required." + exit 0; ;; -a|--action)