From: mwolson_admin Date: Tue, 11 Nov 2008 03:41:09 +0000 (-0500) Subject: backup-manager: Add help command. X-Git-Url: https://git.hcoop.net/hcoop/scripts.git/commitdiff_plain/5ab432e8d4fa42dc8cdcf4127fca412afcbe546f backup-manager: Add help command. --- diff --git a/backup-manager b/backup-manager index 4ee17e2..c362af8 100755 --- a/backup-manager +++ b/backup-manager @@ -94,6 +94,7 @@ function usage() { echo "Usage: backup-manager [get|list|quota] [args...]" echo "Commands:" echo " get DATE FILE Fetch a file into $RESTORE_LOC" + echo " help Display this message" echo " list [DATE] List dates available, or files with given date" echo " quota Display info about the quota" echo " restore DATE FILE VOLUME-NAME" @@ -115,6 +116,7 @@ cmd=$1 shift case $cmd in get) get $@ ;; + help) usage ;; list) list $@ ;; quota) quota $@ ;; restore) restore $@ ;;