# HG changeset patch # User Christophe Lincoln # Date 1331783108 -3600 # Node ID cb891aea104191ba24ed99301117486a7adfea28 # Parent 71d727cc53f2ed2718d1712b6f39a4885f786d75 chub: fix usage diff -r 71d727cc53f2 -r cb891aea1041 chub/chub --- a/chub/chub Thu Mar 15 04:42:22 2012 +0100 +++ b/chub/chub Thu Mar 15 04:45:08 2012 +0100 @@ -14,12 +14,17 @@ [ -f "chub.conf" ] && . ./chub.conf usage() { - echo "\nUsage: $(basename $0) [command] + cat << EOT + +Usage: $(basename $0) [command] + Commands: up-www Update website http://www.slitaz.org/ up-chub Update Chub web interface http://chub.slitaz.org/ stats Display some server stats. - backup Backup MySQL DB and files\n" + backup Backup MySQL DB and files" + +EOT } case "$1" in