]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - m4/gengetopt/fade.m4
fade: Allow to set more than one channel in sleep mode.
[paraslash.git] / m4 / gengetopt / fade.m4
index ca99a398e812d5857107794ad0fa5e89b5195977..d0883c49618c45147080edfc3285653872448c79 100644 (file)
@@ -88,12 +88,15 @@ section "Options for sleep mode"
 option "ivol" -
 #~~~~~~~~~~~~~~
 "set initial volume"
 option "ivol" -
 #~~~~~~~~~~~~~~
 "set initial volume"
-       int typestr = "volume"
+       string typestr = "[channel:]volume"
        default = "60"
        optional
        default = "60"
        optional
+       multiple
        details = "
                Used as the start volume, before fading out to the
        details = "
                Used as the start volume, before fading out to the
-               fade out volume.
+               fade out volume. The channel part may be omitted, in
+               which case the default channel is used. This option
+               may be given multiple times.
        "
 
 option "fo-mood" -
        "
 
 option "fo-mood" -