Commit 0abbaeb8b5b35602e1c57e0e829f4a56d3c47626

Authored by isisadmin
1 parent 879b0066

update help

Showing 1 changed file with 19 additions and 17 deletions
spod-manager.sh
@@ -111,23 +111,25 @@ DB="db_dump/oxwall1709.sql" @@ -111,23 +111,25 @@ DB="db_dump/oxwall1709.sql"
111 while true; do 111 while true; do
112 case "$1" in 112 case "$1" in
113 -h|--help) 113 -h|--help)
114 - echo "$SCRIPT_NAME is manager tool for SPOD application of ROUTE-TO-PA European project all rights are reserved. 2015"  
115 - echo " "  
116 - echo "list of arguments:"  
117 - echo "-h, --help show commands help"  
118 - echo "-a, --action=ACTION specify an action install, uninstall, update, backup, restoredb, restoreall."  
119 - echo "-m, --mysql-username=username specify the username of mysql (*)."  
120 - echo "-n, --mysql-password=password specify the password of mysql server (*)."  
121 - echo "-o, --mysql-address=address specify the address of mysql server (deafult is localhost)."  
122 - echo "-p, --spod-git-username=user specify the user name of SPOD git server (*)."  
123 - echo "-q, --spod-git-email=email specify the email of SPOD git server (*)."  
124 - echo "-r, --spod-git-password=password specify the passoword of SPOD git server (*)."  
125 - echo "-s, --spod-git-address=address:port specify the SPOD git server (deafult is service.routetopa.eu:7480)."  
126 - echo "-w, --spod-hostname=hostname specify the SPOD host name (example http://spod.routetopa.eu/)."  
127 - 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)."  
128 - echo "-e, --spod-www-backup=www-folder specify the SPOD www folder path."  
129 - echo "-b, --backup-dir=DIR specify the directory where store the spod backup (default is current directory)."  
130 - echo "* the arguments is required." 114 + echo "$SCRIPT_NAME is package for the installation, update, backup and restore of a Social Platform for Open Data (SPOD) application.
  115 +SPOD enables social interactions among open data users and between open data users and government data. http://spod.routetopa.eu"
  116 + echo " "
  117 + echo "list of arguments:"
  118 + echo "-h, --help show commands help."
  119 + echo "-a, --action=ACTION define the action [install, uninstall, update, backup, restoredb, restoreall] (*)."
  120 + echo "-m, --mysql-username=username mysql server username (*)."
  121 + echo "-n, --mysql-password=password mysql server password (*)."
  122 + echo "-o, --mysql-address=address mysql server hostname or ip address (deafult is localhost)."
  123 + echo "-p, --spod-git-username=user SPOD Git server user name (*)."
  124 + echo "-q, --spod-git-email=email SPOD Git server user email (*)."
  125 + echo "-r, --spod-git-password=password SPOD Git server password (*)."
  126 + echo "-s, --spod-git-address=address:port SPOD Git server hostname or address (deafult is http://service.routetopa.eu:7480)."
  127 + echo "-w, --spod-hostname=hostname SPOD hostname (example http://spod.routetopa.eu/)."
  128 + echo "-e, --spod-www-backup=www-folder SPOD backup folder path (defauld is current directory)."
  129 + 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)."
  130 + echo " -b, --backup-dir=DIR SPOD backup directory (default is current directory)."
  131 + echo "* the arguments is required."
  132 +
131 exit 0; 133 exit 0;
132 ;; 134 ;;
133 -a|--action) 135 -a|--action)