Mercurial > hg > fapweb
changeset 917:eda104823649
Work on faptool.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 27 Nov 2014 12:12:47 +0200 |
parents | 42c3fbca0d86 |
children | 2e106ba14190 |
files | faptool.php |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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]." <mode> [args]\n". - "Where mode is one of following:\n". + "Usage: ".$argv[0]." <command> [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 <cmd> [args]\n". " Where <cmd> is one of:\n".