# HG changeset patch # User Matti Hamalainen # Date 1417104256 -7200 # Node ID 980f15768103f5256cfdedba022dc0e8e51a373f # Parent 9a440921bbc20bddf091f48bb61662818eadc2ce Moar work. diff -r 9a440921bbc2 -r 980f15768103 faptool.php --- a/faptool.php Thu Nov 27 18:03:43 2014 +0200 +++ b/faptool.php Thu Nov 27 18:04:16 2014 +0200 @@ -337,6 +337,7 @@ " init\n". " Create directories for entries and previews, if needed.\n". "\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". @@ -345,16 +346,27 @@ " e.g. any other files, like temp files, etc. DANGEROUS IF YOU DO NOT\n". " KNOW WHAT YOU ARE DOING!!!!!\n". "\n". +*/ " probe \n". " Probe specified file for file information.\n". "\n". " previews [args]\n". " Where is one of:\n". " status - List files and show what is missing, etc.\n". + " update - Generate preview files that are missing OR out of date.\n". + " (older then preview source file OR entry file where appropriate)\n". +// " add - Add file as preview for entry_id.\n". "\n". " entry [args]\n". " status - List entries for all compos.\n". +/* " unpack - Create subdirs and unpack archives under them.\n". + " add '' '' - Add file as entry file\n". + " (works same as uploading from admin interface)\n". + " package \n". + " Repackages/packages entries (unpacks first if archive),\n". + " and adds generated infofile.txt to packages.\n". +*/ "\n"; exit; }