# HG changeset patch # User edhoprima@gmail.com # Date 1244233435 0 # Node ID 0948e76a57a1496f77b21c60e8cea88be5d15f91 # Parent 2b7c8c1ecdfe02291c2dbdaae3f8e5b45b921f67 added help. Bump to 0.1-beta2 diff -r 2b7c8c1ecdfe -r 0948e76a57a1 moefetch.sh --- a/moefetch.sh Fri Jun 05 20:12:15 2009 +0000 +++ b/moefetch.sh Fri Jun 05 20:23:55 2009 +0000 @@ -40,7 +40,7 @@ # useless welcome message. Also version Msg_Welcome() { - MOEFETCHVERSION="0.1-beta" + MOEFETCHVERSION="0.1-beta2" cat < @@ -57,7 +57,18 @@ # help message Err_Help() { cat < +moefetch.sh COMMAND [-u SITE_URL] TAGS + + COMMAND: + (quick)fetch: do a complete update. Add prefix quick to skip file checking + check: get list of new files, clean up local folder and print total new files + + -u SITE_URL: + Specify URL of the Danbooru powered site you want to leech from. Default is ${DEFAULT_SITE} + + TAGS: + Tags you want to download. Separated by spaces. Tag name follows standard Danbooru tagging scheme + EOF exit 0 } @@ -228,7 +239,7 @@ [ $# -lt 2 ] && Err_Help case "$1" in - status|fetch|quickfetch) + check|fetch|quickfetch) echo "Starting..." JOB="$1" ;; @@ -263,7 +274,7 @@ # let's do the job! case "${JOB}" in - status) + check) Generate_Link Check_Files ;;