]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.cmd
Implement pattern matching for com_lsatt().
[paraslash.git] / afs.cmd
diff --git a/afs.cmd b/afs.cmd
index 200836e2ce0bd8e03e62476739673bfd9b31eeb2..fb691ab60bf5bfcc3af512b938e78a58458cef89 100644 (file)
--- a/afs.cmd
+++ b/afs.cmd
@@ -82,7 +82,7 @@ H:            -sa:  sort by audio format.
 N: lsatt
 P: AFS_READ
 D: List attributes
-U: lsatt [-a] [-l]
+U: lsatt [-a] [-l] [-r]
 H:
 H: Print the list of all defined attributes.
 H:
@@ -93,6 +93,8 @@ H:    identifier.
 H:
 H: -l  Print a long listing containing both identifier and attribute name. The
 H:     default is to print only the name.
+H:
+H: -l  Reverse sort order.
 ---
 N: setatt
 P: AFS_READ | AFS_WRITE
@@ -109,7 +111,7 @@ H: attribute of all files ending with 'foo.mp3'.
 N: addatt
 P: AFS_READ | AFS_WRITE
 D: Add new attribute(s).
-U: addatt attribute1 [attribute2 ...]
+U: addatt attribute1...
 H: This adds new attributes to the attribute table. At most 64 attributes
 H: may be defined.
 ---
@@ -163,7 +165,7 @@ 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:
@@ -183,6 +185,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@