X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Ffade.m4;h=7c731c2b6ec1cdf15322131827fe99add0917e09;hp=42f135fa3ee5d3ed6d61faf9b4088fd00d8302e2;hb=282a5e463090205ef8a12f50a9ecf6498b860e88;hpb=b4171bad405e7a33e13479c227df5eaade391fc0 diff --git a/m4/gengetopt/fade.m4 b/m4/gengetopt/fade.m4 index 42f135fa..7c731c2b 100644 --- a/m4/gengetopt/fade.m4 +++ b/m4/gengetopt/fade.m4 @@ -1,8 +1,18 @@ -args "--conf-parser --no-handle-version" +args "--conf-parser --no-handle-version --no-handle-help" +purpose "An alarm clock and volume-fader for OSS and ALSA." + +include(header.m4) +define(CURRENT_PROGRAM,para_fade) +define(DEFAULT_CONFIG_FILE,~/.paraslash/fade.conf) + section "General options" ######################### + +include(config_file.m4) +include(loglevel.m4) + option "mode" o #~~~~~~~~~~~~~~ "how to fade volume" @@ -26,11 +36,17 @@ option "mode" o snooze: Fade out, sleep a bit and fade in. " -option "config-file" c -#~~~~~~~~~~~~~~~~~~~~~ -"(default='~/.paraslash/fade.conf')" - string typestr = "filename" +option "mixer-api" a +#~~~~~~~~~~~~~~~~~~~ +"choose the mixer API" + string typestr = "api" optional + details = " + ALSA is preferred over OSS if both APIs are supported + and this option is not given. To see the supported + mixer APIs, use this option with an invalid string + as the mixer API, e.g. --mixer-api help. + " option "mixer-device" m #~~~~~~~~~~~~~~~~~~~~~~ @@ -212,3 +228,4 @@ option "fade-time" t int typestr = "seconds" default = "5" optional +