changeset 1031:bada991641ba

Cleaning up.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 19 Nov 2015 21:08:40 +0200
parents 3a8c016c50fc
children 9fffc9e7e1b6
files faptool.php
diffstat 1 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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 <cid>)\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 <entry_id> <filename> - Add file as preview for entry_id.\n".
     "\n".
     "  entry <cmd> [args]\n".
     "    status [cid]  - List entries for all compos or <cid>.\n".
     "    unpack <path> - Create subdirs and copy all entries UNPACKED there.\n".
     "    release <path> - Like unpack, but just copies files (does not unpack archives).\n".
+    "\n".
+    "    add <cid> <filename> - Add a new entry with file.\n".
+    "       Entry info + notes for internal use will be prompted.\n".
+    "    pre <eid> <filename> - Add file as preview for entry id.\n".
+    "    del <eid> - Delete entry (does not delete files).\n".
 /*
-    "    add <filename> '<name>' '<author>' - Add file as entry file\n".
-    "              (works same as uploading from admin interface)\n".
+    "\n".
     "    package <lha|zip|rar|7z>\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");