Add documentation for com_add().
authorAndre Noll <maan@systemlinux.org>
Sun, 9 Sep 2007 15:16:43 +0000 (17:16 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 9 Sep 2007 15:16:43 +0000 (17:16 +0200)
afs.cmd

diff --git a/afs.cmd b/afs.cmd
index fdf65523b5147eff59dbcb3f3cdcd70c1489fb32..187e2af74731e4cd03527a347a3bd57dcc739891 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