gengetopt: use the new (and more descriptive) 'optional' instead of 'no'.
[paraslash.git] / audiod.ggo
index b0b8d0c4d357eebb8fff341ac80cd966900d777b..0ff790363188acf8cd05b59675c1649926674a37 100644 (file)
@@ -1,11 +1,11 @@
 section "general options"
-option "user" u "run as user 'name'. Read the output of 'para_server -h' for a detailed information on this option." string typestr="name" no
-option "loglevel" l "set loglevel (0-6)" int typestr="level" default="4" no
+option "user" u "run as user 'name'. Read the output of 'para_server -h' for a detailed information on this option." string typestr="name" optional
+option "loglevel" l "set loglevel (0-6)" int typestr="level" default="4" optional
 option "daemon" d "run as background daemon" flag off
 option "force" F "force startup even if socket exits" flag off
-option "logfile" L "(default=stdout/stderr)" string typestr="filename" no
-option "mode" m "mode to use on startup (on/off/sb)" string typestr="mode" default="on" no
-option "socket" s "well-known socket to listen on (default=/var/paraslash/audiod_sock.<host_name>)" string typestr="filename" no
+option "logfile" L "(default=stdout/stderr)" string typestr="filename" optional
+option "mode" m "mode to use on startup (on/off/sb)" string typestr="mode" default="on" optional
+option "socket" s "well-known socket to listen on (default=/var/paraslash/audiod_sock.<host_name>)" string typestr="filename" optional
 
 option "user_allow" -
 
@@ -14,7 +14,7 @@ May be specified multiple times. If not
 specified at all, allow all users to
 connect."
 
-int typestr="uid" default="-1" no multiple
+int typestr="uid" default="-1" optional multiple
 
 section "stream i/o options."
 
@@ -35,7 +35,7 @@ Example:
 -r 'mp3:http -i www.paraslash.org -p 8009'
 "
 
-string typestr="receiver_spec" default="http" no multiple
+string typestr="receiver_spec" default="http" optional multiple
 
 #################
 option "no_default_filters" D "Configure filters manually.
@@ -61,7 +61,7 @@ Examples:
 Note that these options are ignored by default,
 see --no_default_filters."
 
-string typestr="filter_spec" no multiple
+string typestr="filter_spec" optional multiple
 
 #################
 
@@ -77,7 +77,7 @@ Each occurence of START_TIME() gets replaced
 at runtime by the stream start time announced
 by para_server, plus any offsets."
 
-string typestr="format:command" no multiple
+string typestr="format:command" optional multiple
 
 #################
 
@@ -98,4 +98,4 @@ option "stream_timeout" -
 
 "Deactivate slot if idle for that many seconds"
 
-int typestr="seconds" default="30" no
+int typestr="seconds" default="30" optional