X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=m4%2Fgengetopt%2Faudiod.m4;h=732f80873cdf39529e61f158a4d6cc40c2ae0735;hb=837cd1ab890645d9fd7d0d85139fdf076d987ea4;hp=5522a56dc0af4b10bcf0dfcd3172e426a0ee174c;hpb=35e284e06a5c8e20d02b61fdcb4bcc20b237c1e4;p=paraslash.git diff --git a/m4/gengetopt/audiod.m4 b/m4/gengetopt/audiod.m4 index 5522a56d..732f8087 100644 --- a/m4/gengetopt/audiod.m4 +++ b/m4/gengetopt/audiod.m4 @@ -1,5 +1,7 @@ args "--no-handle-help --no-handle-version --conf-parser" +purpose "Connect to para_server, receive, decode and play audio streams" + include(header.m4) define(CURRENT_PROGRAM,para_audiod) define(DEFAULT_CONFIG_FILE,~/.paraslash/audiod.conf) @@ -78,25 +80,26 @@ details=" instructed to use also \"filename\" for connecting para_audiod. " -option "user_allow" - +option "user-allow" - #~~~~~~~~~~~~~~~~~~~~ -"allow this uid" -int typestr="uid" -default="-1" +"allow this user to connect to audiod" +string typestr = "username" optional multiple -details=" - Allow the user identified by \"uid\" to connect to para_audiod. - May be specified multiple times. If not specified at all, - all users are allowed to connect. - - This feature requires unix socket credentials and is currently - only supported on Linux systems. On other operating systems, - the option is silently ignored and all local users are allowed - to connect to para_audiod. +details = " + Allow the user identified by username (either a string or + a UID) to connect to para_audiod. This option may be given + multiple times. If not specified at all, all users are allowed + to connect. + + This feature is based on the ability to send unix + credentials through local sockets using ancillary data + (SCM_CREDENTIALS). Currently it only works on Linux. On + other operating systems the option is silently ignored and + all local users are allowed to connect. " -option "clock_diff_count" - +option "clock-diff-count" - #~~~~~~~~~~~~~~~~~~~~~~~~~~ "sync clock on startup" int typestr="count" @@ -193,7 +196,7 @@ details=" " -option "stream_delay" - +option "stream-delay" - #~~~~~~~~~~~~~~~~~~~~~~ "time for client sync" int typestr="milliseconds"