# HG changeset patch # User Matti Hamalainen # Date 1417083167 -7200 # Node ID eda10482364900688f5b00db78d74b086d926651 # Parent 42c3fbca0d86fd32712c4e64bf4c0a5159bc4963 Work on faptool. diff -r 42c3fbca0d86 -r eda104823649 faptool.php --- a/faptool.php Thu Nov 27 12:01:38 2014 +0200 +++ b/faptool.php Thu Nov 27 12:12:47 2014 +0200 @@ -330,17 +330,19 @@ "faptool - Do stuff with FAPWeb database\n". "(C) Copyright 2014 ccr/TNSP\n". "\n". - "Usage: ".$argv[0]." [args]\n". - "Where mode is one of following:\n". + "Usage: ".$argv[0]." [args]\n". + "Where command is one of following:\n". "\n". " init\n". " Create directories for entries and previews, if needed.\n". "\n". - " clean [delete]\n". - " Clean files marked to be deleted. This includes any old\n". - " or stale preview files and entry files.\n". - " Without 'delete' parameter just checks and shows what would\n". - " be deleted, but with it ACTUALLY DELETES THE FILES, SO BE CAREFUL!\n". + " clean [delete|crap]\n". + " Clean files marked to be deleted and 'stale' files. This includes\n". + " any old or stale preview files and entry files.\n". + " Without 'delete' parameter just checks and shows what would deleted.\n". + " 'crap' parameter will purge EVERYTHING that is NOT in the database,\n". + " e.g. any other files, like temp files, etc. DANGEROUS IF YOU DO NOT\n". + " KNOW WHAT YOU ARE DOING!!!!!\n". "\n". " previews [args]\n". " Where is one of:\n".