@@ -148,17 +148,17 @@ usage(char *program)
148148 printf (" --logfile <filename> Log filename. Not supplying this argument will result in logging to stderr only.\n" );
149149 printf (" --logdomains <dom,dom..> Log domains\n" );
150150 printf (" --config <file> Use <file> as the configuration file\n" );
151- printf (" --name <name> Name of the airplay 2 device\n" );
152- printf (" --hostname <hostname> Hostname of AirPlay 2 device\n" );
153- printf (" --address <address> IP address to bind to for AirPlay 2 service\n" );
154- printf (" --port <port> Port number to bind to for AirPlay 2 service\n" );
155- printf (" --txt <txt> txt keyvals returned in mDNS for AirPlay 2 service\n" );
156- printf (" --pipe filename of named pipe to read streamed audio\n" );
157- printf (" --ntp Print current NTP time and exit\n" );
151+ printf (" --name <name> Name of the airplay 2 device. Mandatory in absence of --ntpstart. \n" );
152+ printf (" --hostname <hostname> Hostname of AirPlay 2 device. Mandatory in absence of --ntpstart. \n" );
153+ printf (" --address <address> IP address to bind to for AirPlay 2 service. Mandatory in absence of --ntpstart. \n" );
154+ printf (" --port <port> Port number to bind to for AirPlay 2 service. Mandatory in absence of --ntpstart. \n" );
155+ printf (" --txt <txt> txt keyvals returned in mDNS for AirPlay 2 service. Mandatory in absence of --ntpstart. \n" );
156+ printf (" --pipe filename of named pipe to read streamed audio. Mandatory in absence of --ntpstart. \n" );
157+ printf (" --ntp Print current NTP time and exit. \n" );
158158 printf (" --wait Start playback after <wait> milliseconds\n" );
159- printf (" --ntpstart Start playback at NTP <start> + <wait>\n" );
159+ printf (" --ntpstart Start playback at NTP <start> + <wait>. Mandatory in absence of --ntpstart. \n" );
160160 printf (" --latency Latency to apply in frames\n" );
161- printf (" --volume Initial volume (0-100)\n" );
161+ printf (" --volume Initial volume (0-100). Mandatory in absence of --ntpstart. \n" );
162162 printf (" -v, --version Display version information and exit\n" );
163163 printf ("\n\n" );
164164 printf ("Available log domains:\n" );
488488main (int argc , char * * argv )
489489{
490490 int option ;
491- char * configfile = CONFFILE ;
491+ char * configfile = NULL ; // default to no config file
492492 bool background = false;
493493 bool testrun = false;
494494 bool mdns_no_rsp = true;
@@ -670,7 +670,6 @@ main(int argc, char **argv)
670670
671671 return EXIT_FAILURE ;
672672 }
673- // logger_detach(); // Eliminate logging to stderr
674673
675674 ret = conffile_load (configfile );
676675 if (ret != 0 ) {
0 commit comments