X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Fplay.m4;h=168755907fd302f8eb5f95c5484f04df210f95a9;hp=57f954c4c0ee094f3f8323d2d25956672f91a0f3;hb=0879c9de4eaf8c78131c243d8e9fec013df0d14a;hpb=83ab4b5d38bb63cf4724022c3804d3eaa2ac51d3 diff --git a/m4/gengetopt/play.m4 b/m4/gengetopt/play.m4 index 57f954c4..16875590 100644 --- a/m4/gengetopt/play.m4 +++ b/m4/gengetopt/play.m4 @@ -1,4 +1,14 @@ args "--unamed-opts=audio_file --no-handle-version --conf-parser --no-handle-help" + +purpose "Command line audio player" + +description "para_play operates either in command mode or in insert +mode. In insert mode it presents a prompt and allows to enter commands +like stop, play, pause etc. In command mode the current audio file +is shown and the program reads single key strokes from stdin. Keys +may be mapped to commands. Whenever a mapped key is pressed, the +associated command is executed." + include(header.m4) define(CURRENT_PROGRAM,para_play) define(DEFAULT_CONFIG_FILE,~/.paraslash/play.conf) @@ -23,7 +33,7 @@ option "randomize" z "randomize playlist at startup." flag off -option "key_map" k +option "key-map" k #~~~~~~~~~~~~~~~~~ "Map key k to a command."