]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - m4/gengetopt/play.m4
para_play, implementation.
[paraslash.git] / m4 / gengetopt / play.m4
index 9bdc767cfdb9c116eca5f273f50242161d9369f1..57f954c4c0ee094f3f8323d2d25956672f91a0f3 100644 (file)
@@ -2,6 +2,8 @@ args "--unamed-opts=audio_file --no-handle-version --conf-parser --no-handle-hel
 include(header.m4)
 define(CURRENT_PROGRAM,para_play)
 define(DEFAULT_CONFIG_FILE,~/.paraslash/play.conf)
+define(DEFAULT_HISTORY_FILE,~/.paraslash/play.history)
+
 <qu>
 #########################
 section "General options"
@@ -9,3 +11,28 @@ section "General options"
 </qu>
 include(loglevel.m4)
 include(config_file.m4)
+include(history_file.m4)
+<qu>
+
+###############################
+section "Options for para_play"
+###############################
+
+option "randomize" z
+#~~~~~~~~~~~~~~~~~~~
+"randomize playlist at startup."
+flag off
+
+option "key_map" k
+#~~~~~~~~~~~~~~~~~
+"Map key k to a command."
+
+string typestr = "key:command [args]"
+optional
+multiple
+details = "
+       This option may be given multiple times, one for each key
+       mapping. Example:
+               5:jmp 50
+"
+</qu>