slitaz-forge rev 130

chub: fix usage
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 15 04:45:08 2012 +0100 (2012-03-15)
parents 71d727cc53f2
children 3703a87dc776
files chub/chub
line diff
     1.1 --- a/chub/chub	Thu Mar 15 04:42:22 2012 +0100
     1.2 +++ b/chub/chub	Thu Mar 15 04:45:08 2012 +0100
     1.3 @@ -14,12 +14,17 @@
     1.4  [ -f "chub.conf" ] && . ./chub.conf
     1.5  
     1.6  usage() {
     1.7 -	echo "\nUsage: $(basename $0) [command]
     1.8 +	cat << EOT
     1.9 +
    1.10 +Usage: $(basename $0) [command]
    1.11 +
    1.12  Commands:
    1.13    up-www       Update website http://www.slitaz.org/
    1.14    up-chub      Update Chub web interface http://chub.slitaz.org/
    1.15    stats        Display some server stats.
    1.16 -  backup       Backup MySQL DB and files\n"
    1.17 +  backup       Backup MySQL DB and files"
    1.18 +
    1.19 +EOT
    1.20  }
    1.21  
    1.22  case "$1" in