]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.cmd
Change the type of the argv argument of all commands.
[paraslash.git] / afs.cmd
diff --git a/afs.cmd b/afs.cmd
index fdf65523b5147eff59dbcb3f3cdcd70c1489fb32..f8454d60c8671b1428c76277137b76f616f32aeb 100644 (file)
--- a/afs.cmd
+++ b/afs.cmd
@@ -9,9 +9,22 @@ TM: mood lyr img pl
 ---
 N: add
 P: AFS_READ | AFS_WRITE
-D: FIXME
-U: FIXME
-H: FIXME
+D: Add new audio files to the database.
+U: add [-l] [-f] [-v] path1 ...
+H: Each given path may be either the full path to an audio file, or the full path
+H: of a direcetory. In case of a directory, all audio files in that directory
+H: are added recursivly.
+H:
+H: Options:
+H:
+H: -l  Add files lazily. If a file already exists in the database, skip this file.
+H: This operation is really cheap. Use it when adding large directories if only a
+H: few files where added.
+H:
+H:-f   Force adding/updating. Recompute the audio format handler data
+H: even if a file with the same path and the same hash value exists.
+H:
+H: -v  Verbose mode. Print what is being done.
 ---
 N: init
 P: AFS_READ | AFS_WRITE
@@ -57,7 +70,7 @@ H: FIXME
 ---
 T: cat
 N: cat@member@
-O: int com_cat@member@(int fd, int argc, char **argv);
+O: int com_cat@member@(int fd, int argc, char * const * const argv);
 P: AFS_READ
 D: FIXME
 U: cat@member@ @member@_name
@@ -65,7 +78,7 @@ H: FIXME
 ---
 T: ls
 N: ls@member@
-O: int com_ls@member@(int fd, int argc, char **argv);
+O: int com_ls@member@(int fd, int argc, char * const * const argv);
 P: AFS_READ
 D: FIXME
 U: cat@member@ <pattern>
@@ -73,7 +86,7 @@ H: FIXME
 ---
 T: rm
 N: rm@member@
-O: int com_rm@member@(int fd, int argc, char **argv);
+O: int com_rm@member@(int fd, int argc, char * const * const argv);
 P: AFS_READ | AFS_WRITE
 D: FIXME
 U: rm@member@ @member@_name
@@ -81,7 +94,7 @@ H: FIXME
 ---
 T: mv
 N: mv@member@
-O: int com_mv@member@(int fd, int argc, char **argv);
+O: int com_mv@member@(int fd, int argc, char * const * const argv);
 P: AFS_READ | AFS_WRITE
 D: FIXME
 U: mv@member@ old_@member@_name new_@member@_name