]> git.tuebingen.mpg.de Git - paraslash.git/blob - m4/gengetopt/gui.m4
gui: Remove --timeout.
[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
20 option "theme" T
21 #~~~~~~~~~~~~~~~
22 "select startup theme"
23 string typestr = "name"
24 optional
25 details = "
26         If this option is not given the default theme is used.
27         If the given name is not a valid theme name, the list of
28         available themes is printed and the program terminates.
29 "
30
31 option "stat-cmd" s
32 #~~~~~~~~~~~~~~~~~~
33 "command to read status items from"
34 string typestr = "command"
35 default = "para_audioc -- stat -p"
36 optional
37 details = "
38         On a host on which the para_audiod service is not is running, the
39         default command will fail. An alternative is
40
41                 para_client -- stat -p
42
43         This command connects para_server instead of para_audiod. However,
44         no timing information about the current audio file is printed.
45 "
46
47 #---------------------------------
48 section "Mapping keys to commands"
49 #---------------------------------
50
51 option "key-map" k
52 #~~~~~~~~~~~~~~~~~
53 "Map key k to command c using mode m."
54
55 string typestr = "k:m:c"
56 optional
57 multiple
58 details = "
59         Mode may be d, x or p for display, external and paraslash
60         commands, respectively. Of course, this option may be given
61         multiple times, one for each key mapping.
62 "
63 </qu>