Merge branch 't/resample'
[paraslash.git] / m4 / gengetopt / play.m4
1 args "--unamed-opts=audio_file --no-handle-version --conf-parser --no-handle-help"
2 include(header.m4)
3 define(CURRENT_PROGRAM,para_play)
4 define(DEFAULT_CONFIG_FILE,~/.paraslash/play.conf)
5 define(DEFAULT_HISTORY_FILE,~/.paraslash/play.history)
6
7 <qu>
8 #########################
9 section "General options"
10 #########################
11 </qu>
12 include(loglevel.m4)
13 include(config_file.m4)
14 include(history_file.m4)
15 <qu>
16
17 ###############################
18 section "Options for para_play"
19 ###############################
20
21 option "randomize" z
22 #~~~~~~~~~~~~~~~~~~~
23 "randomize playlist at startup."
24 flag off
25
26 option "key_map" k
27 #~~~~~~~~~~~~~~~~~
28 "Map key k to a command."
29
30 string typestr = "key:command [args]"
31 optional
32 multiple
33 details = "
34         This option may be given multiple times, one for each key
35         mapping. Example:
36                 5:jmp 50
37 "
38 </qu>