# HG changeset patch # User Matti Hamalainen # Date 1447960120 -7200 # Node ID bada991641bac880c31a307f45e1fc0f20b0c071 # Parent 3a8c016c50fcb3f29e4311982e0d434a5d9bfb5a Cleaning up. diff -r 3a8c016c50fc -r bada991641ba faptool.php --- a/faptool.php Thu Nov 19 20:54:59 2015 +0200 +++ b/faptool.php Thu Nov 19 21:08:40 2015 +0200 @@ -662,15 +662,18 @@ " status [cid] - List files and show what is missing, etc. (All or )\n". " generate - 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 [cid] - List entries for all compos or .\n". " unpack - Create subdirs and copy all entries UNPACKED there.\n". " release - Like unpack, but just copies files (does not unpack archives).\n". + "\n". + " add - Add a new entry with file.\n". + " Entry info + notes for internal use will be prompted.\n". + " pre - Add file as preview for entry id.\n". + " del - Delete entry (does not delete files).\n". /* - " add '' '' - Add file as entry file\n". - " (works same as uploading from admin interface)\n". + "\n". " package \n". " Repackages/packages entries (unpacks first if archive),\n". " and adds generated infofile.txt to packages.\n". @@ -944,10 +947,6 @@ } break; - case "add": - echo "Not implemented. :D\n"; - break; - default: if ($mode == "") die("ERROR! Previews command requires a sub-command argument.\n");