]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_options.c
Spelling fixes
[netatalk.git] / etc / afpd / afp_options.c
index 3b37538b642c312f212f6e1821dc601d6da34a84..223f117881e20ca8b485290b4577ec6a999708d3 100644 (file)
@@ -155,8 +155,10 @@ static void show_version_extended(void )
        show_version( );
 
        printf( "      Zeroconf support:\t" );
-#ifdef USE_ZEROCONF
-       puts( "Yes" );
+#if defined (HAVE_MDNS)
+       puts( "mDNSResponder" );
+#elif defined (HAVE_AVAHI)
+       puts( "Avahi" );
 #else
        puts( "No" );
 #endif
@@ -220,11 +222,11 @@ static void show_version_extended(void )
 static void show_paths( void )
 {
        printf( "              afp.conf:\t%s\n", _PATH_CONFDIR "afp.conf");
-       printf( "    afp_signature.conf:\t%s\n", _PATH_CONFDIR "afp_signature.conf");
-       printf( "      afp_voluuid.conf:\t%s\n", _PATH_CONFDIR "afp_voluuid.conf");
+       printf( "       state directory:\t%s\n", _PATH_STATEDIR);
+       printf( "    afp_signature.conf:\t%s\n", _PATH_STATEDIR "afp_signature.conf");
+       printf( "      afp_voluuid.conf:\t%s\n", _PATH_STATEDIR "afp_voluuid.conf");
        printf( "       UAM search path:\t%s\n", _PATH_AFPDUAMPATH );
        printf( "  Server messages path:\t%s\n", SERVERTEXT);
-       printf( "              lockfile:\t%s\n", _PATH_AFPDLOCK);
 }
 
 /*
@@ -240,7 +242,7 @@ void afp_options_parse_cmdline(AFPObj *obj, int ac, char **av)
 {
     int c, err = 0;
 
-    while (EOF != ( c = getopt( ac, av, "dFvVh" )) ) {
+    while (EOF != ( c = getopt( ac, av, "dF:vVh" )) ) {
         switch ( c ) {
         case 'd':
             obj->cmdlineflags |= OPTION_DEBUG;