X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=m4%2Fgengetopt%2Ffade.m4;h=da7a27e2c632032ccce20a528e685bf3dd7a58a1;hb=db2cd7b5404f5f01d25b72beacb3e5245b1bb94c;hp=42f135fa3ee5d3ed6d61faf9b4088fd00d8302e2;hpb=b4171bad405e7a33e13479c227df5eaade391fc0;p=paraslash.git
diff --git a/m4/gengetopt/fade.m4 b/m4/gengetopt/fade.m4
index 42f135fa..da7a27e2 100644
--- a/m4/gengetopt/fade.m4
+++ b/m4/gengetopt/fade.m4
@@ -1,8 +1,16 @@
args "--conf-parser --no-handle-version"
+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 +34,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 +226,4 @@ option "fade-time" t
int typestr = "seconds"
default = "5"
optional
+