vss: Avoid use after free in vss_send().
[paraslash.git] / m4 / gengetopt / gui.m4
1 args "--conf-parser --no-handle-version --no-handle-help"
2
3 purpose "Show para_audiod status in a curses window"
4
5 include(header.m4)
6 define(CURRENT_PROGRAM,para_gui)
7 define(DEFAULT_CONFIG_FILE,~/.paraslash/gui.conf)
8
9 <qu>
10 #########################
11 section "General options"
12 #########################
13 </qu>
14
15 include(config_file.m4)
16 include(loglevel.m4)
17
18 <qu>
19 option "timeout" t
20 #~~~~~~~~~~~~~~~~~
21 "set timeout"
22 int typestr = "milliseconds"
23 default = "30"
24 optional
25
26 option "theme" T
27 #~~~~~~~~~~~~~~~
28 "select startup theme"
29 string typestr = "name"
30 optional
31 details = "
32         If this option is not given the default theme is used.
33         If the given name is not a valid theme name, the list of
34         available themes is printed and the program terminates.
35 "
36
37 option "stat-cmd" s
38 #~~~~~~~~~~~~~~~~~~
39 "command to read status items from"
40 string typestr = "command"
41 default = "para_audioc -- stat -p"
42 optional
43 details = "
44         On a host on which the para_audiod service is not is running, the
45         default command will fail. An alternative is
46
47                 para_client -- stat -p
48
49         This command connects para_server instead of para_audiod. However,
50         no timing information about the current audio file is printed.
51 "
52
53 #---------------------------------
54 section "Mapping keys to commands"
55 #---------------------------------
56
57 option "key-map" k
58 #~~~~~~~~~~~~~~~~~
59 "Map key k to command c using mode m."
60
61 string typestr = "k:m:c"
62 optional
63 multiple
64 details = "
65         Mode may be d, x or p for display, external and paraslash
66         commands, respectively. Of course, this option may be given
67         multiple times, one for each key mapping.
68 "
69 </qu>