afh_recv: Replace ggo text section by description.
[paraslash.git] / m4 / gengetopt / fade.m4
index 42f135fa3ee5d3ed6d61faf9b4088fd00d8302e2..da7a27e2c632032ccce20a528e685bf3dd7a58a1 100644 (file)
@@ -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)
+<qu>
 section "General options"
 #########################
 
+</qu>
+include(config_file.m4)
+include(loglevel.m4)
+<qu>
 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
+</qu>