]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - m4/lls/server_cmd.suite.m4
server: Convert com_check() to lopsub.
[paraslash.git] / m4 / lls / server_cmd.suite.m4
index fdc8ff4f349881ca68b8c42e1800f56779267a3e..b246db48537d1032c413ed0571cc7c813f70482e 100644 (file)
@@ -52,6 +52,39 @@ aux_info_prefix = Permissions:
                        Print what is being done.
                [/help]
 
+[subcommand check]
+       purpose = run integrity checks on database tables
+       aux_info = AFS_READ
+       [description]
+               If no options are given, all checks are run.
+       [/description]
+       [option aft]
+               short_opt = a
+               summary = run audio file table checks
+               [help]
+                       Report stale paths and invalid image and lyrics ids of the audio
+                       file table.
+               [/help]
+       [option attribute]
+               short_opt = A
+               summary = check for invalid attributes
+               [help]
+                       Report audio files whose attribute bitmask is invalid, i.e., has a bit
+                       set which does not correspond to any attribute of the attribute table.
+               [/help]
+       [option mood]
+               short_opt = m
+               summary = check for invalid mood definitions
+               [help]
+                       Run syntax checks on all moods of the mood table.
+               [/help]
+       [option playlist]
+               short_opt = p
+               summary = find invalid paths in playlists
+               [help]
+                       Check all playlists for paths not contained in the audio file table.
+               [/help]
+
 [subcommand ff]
        purpose = jump N seconds forward or backward
        synopsis = n[-]