server: Convert com_setatt() to lopsub.
[paraslash.git] / m4 / lls / server_cmd.suite.m4
index b10f3553aca058ab7ad85870ca6028c42a23cfb9..b113934164315741699cc3f119f122d0c34cb8c2 100644 (file)
@@ -193,6 +193,20 @@ aux_info_prefix = Permissions:
 
        [/description]
 
 
        [/description]
 
+[subcommand setatt]
+       purpose = set or unset attributes
+       synopsis = attribute{+|-}... pattern...
+       aux_info = AFS_READ | AFS_WRITE
+       [description]
+               Set ('+') or unset ('-') the given attributes for all audio files
+               matching the given pattern. Example:
+
+                       setatt rock+ punk+ pop- '*foo.mp3'
+
+               sets the 'rock' and the 'punk' attribute and unsets the 'pop' attribute
+               of all files ending with 'foo.mp3'.
+       [/description]
+
 [subcommand si]
        purpose = print server info
        aux_info = NO_PERMISSION_REQUIRED
 [subcommand si]
        purpose = print server info
        aux_info = NO_PERMISSION_REQUIRED