]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.cmd
attribute.c: Implement pattern matching for com_rmatt().
[paraslash.git] / afs.cmd
diff --git a/afs.cmd b/afs.cmd
index fca60466e347f3243e298afd3c11479871a45ef4..f27fa4a8de60af4c91708a738d0f4558eeb36460 100644 (file)
--- a/afs.cmd
+++ b/afs.cmd
@@ -144,15 +144,26 @@ H: about this attribute in the audio file table is lost.
 N: afs_rm
 P: AFS_READ | AFS_WRITE
 D: Remove entries from the audio file table.
-U: rm pattern...
+U: rm [-v] [-f] [-p] pattern...
 H: Delete all entries in the audio file table that match any given pattern.
 H: Note that affects the table entries only; paraslash won't touch your
 H: audio files in any way.
+H: Options:
+H:
+H: -v  Verbose mode. Explain what is being done.
+H:
+H: -f  Force mode. Ignore nonexistent files. Don't complain if nothing
+H:     was removed.
+H:
+H: -p  Pathname match. Match a slash in the path only with a slash
+H:     in pattern and not by an asterisk (*) or a question mark
+H:     (?) metacharacter, nor by a bracket expression ([]) containing
+H:     a slash (see fnmatch(3)).
 ---
 N: touch
 P: AFS_READ | AFS_WRITE
 D: Manupulate the afs data for all audio files matching a pattern.
-U: touch [-n numplayed] [-l lastplayed] [-y lyrics_id] [-i image_id] pattern
+U: touch [-n numplayed] [-l lastplayed] [-y lyrics_id] [-i image_id] [-v] [-p] pattern
 H: If no option is given, lastplayed is set to the current time and numplayed is
 H: increased by one. Otherwise, only the given options are taken into account.
 H:
@@ -172,6 +183,13 @@ H: -y      Set the lyrics id. Specify the lyrics data file associated with
 H:     this audio file.
 H:
 H: -i  Set the image id. Same as -y, but sets the image.
+H:
+H: -v  Verbose mode. Explain what is being done.
+H:
+H: -p  Pathname match. Match a slash in the path only with a slash
+H:     in pattern and not by an asterisk (*) or a question mark
+H:     (?) metacharacter, nor by a bracket expression ([]) containing
+H:     a slash (see fnmatch(3)).
 ---
 T: add
 N: add@member@