X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Ffade.m4;h=8b81975b36a0a3ba4f08bf21af39c8a9e946ea43;hp=450e05423db66925449934e0c5efab0b8d850c3e;hb=48f1fc440eb53b0efb7c1beaba396e81b8bcb1ab;hpb=0968b226713f7bab3be9185b426f766932394bc7 diff --git a/m4/gengetopt/fade.m4 b/m4/gengetopt/fade.m4 index 450e0542..8b81975b 100644 --- a/m4/gengetopt/fade.m4 +++ b/m4/gengetopt/fade.m4 @@ -1,8 +1,18 @@ args "--conf-parser --no-handle-version" +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,12 +36,6 @@ option "mode" o snooze: Fade out, sleep a bit and fade in. " -option "config-file" c -#~~~~~~~~~~~~~~~~~~~~~ -"(default='~/.paraslash/fade.conf')" - string typestr = "filename" - optional - option "mixer-api" a #~~~~~~~~~~~~~~~~~~~ "choose the mixer API" @@ -224,3 +228,4 @@ option "fade-time" t int typestr = "seconds" default = "5" optional +