command_util: Write array definition in header mode.
[paraslash.git] / server.cmd
index d574d2c89c0be38b42902bd8108c40472a79424c..a80e2312a00606724222e67965f24298def2d857 100644 (file)
@@ -1,10 +1,9 @@
+BN: server
 OF: server_command_list
 SF: command.c
-HC: prototypes for the server command handlers
-CC: array of server commands
 AT: server_command
-SI: openssl/rc4
-IN: para error crypt command string afh afs server list user_list
+SI: osl regex
+IN: para error crypt sideband command string afh afs server list user_list
 SN: list of server commands
 ---
 N: ff
@@ -93,11 +92,14 @@ H: Print server uptime and other information.
 ---
 N: stat
 P: VSS_READ
-D: Print status info for current audio file.
-U: stat [n]
-H: Without any arguments, stat continuously prints status messages
-H: about the audio file being streamed. Use the optional number n
-H: to let stat exit after having displayed status n times.
+D: Print status info for the current audio file.
+U: stat [-n=num] [-p]
+H: If -n is given, the command exits after having displayed the status n
+H: times. Otherwise, the command runs in an endless loop.
+H:
+H: The -p option activates parser-friendly output: Each status item is
+H: prefixed with its size in bytes and the status items identifiers are
+H: printed as numerical values.
 ---
 N: stop
 P: VSS_READ | VSS_WRITE