Make gengetopt descriptions work.
[paraslash.git] / m4 / gengetopt / play.m4
1 args "--unamed-opts=audio_file --no-handle-version --conf-parser --no-handle-help"
2
3 description "para_play operates either in command mode or in insert
4 mode. In insert mode it presents a prompt and allows to enter commands
5 like stop, play, pause etc. In command mode the current audio file
6 is shown and the program reads single key strokes from stdin. Keys
7 may be mapped to commands. Whenever a mapped key is pressed, the
8 associated command is executed."
9
10 include(header.m4)
11 define(CURRENT_PROGRAM,para_play)
12 define(DEFAULT_CONFIG_FILE,~/.paraslash/play.conf)
13 define(DEFAULT_HISTORY_FILE,~/.paraslash/play.history)
14
15 <qu>
16 #########################
17 section "General options"
18 #########################
19 </qu>
20 include(loglevel.m4)
21 include(config_file.m4)
22 include(history_file.m4)
23 <qu>
24
25 ###############################
26 section "Options for para_play"
27 ###############################
28
29 option "randomize" z
30 #~~~~~~~~~~~~~~~~~~~
31 "randomize playlist at startup."
32 flag off
33
34 option "key_map" k
35 #~~~~~~~~~~~~~~~~~
36 "Map key k to a command."
37
38 string typestr = "key:command [args]"
39 optional
40 multiple
41 details = "
42         This option may be given multiple times, one for each key
43         mapping. Example:
44                 5:jmp 50
45 "
46 </qu>