]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - m4/lls/server_cmd.suite.m4
server: Convert com_lsatt() to lopsub.
[paraslash.git] / m4 / lls / server_cmd.suite.m4
index 4a1f9f462497eb26ec1cfd57fd0d153539dbfef7..b10f3553aca058ab7ad85870ca6028c42a23cfb9 100644 (file)
@@ -107,6 +107,35 @@ aux_info_prefix = Permissions:
                n <= 100.
        [/description]
 
+[subcommand lsatt]
+       purpose = list attributes
+       aux_info = AFS_READ
+       [description]
+               Print the list of all defined attributes which match the given
+               pattern. If no pattern is given, the full list is printed.
+       [/description]
+
+       [option id-sort]
+               short_opt = i
+               summary = sort attributes by id
+               [help]
+                       The default is to sort alphabetically by name.
+
+                       Attributes are internally represented as an 64 bit array. The attribute
+                       id is the bit number in this array.
+               [/help]
+       [option long]
+               short_opt = l
+               summary = print long listing
+               [help]
+                       The long listing prints the attribute id in addition to the name of
+                       the attribute. The id is printed as a decimal number and is separated
+                       from the name by a tab character.
+               [/help]
+       [option reverse]
+               short_opt = r
+               summary = reverse sort order
+
 [subcommand next]
        purpose = close the stream and start to stream the next audio file
        aux_info = VSS_READ | VSS_WRITE