mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
remove '-S'; improve usage()
This commit is contained in:
parent
417f709978
commit
06782dac3b
@ -190,14 +190,14 @@ usage( char *name )
|
||||
"\t-l facility\tSyslog facility (default: LOCAL4)\n"
|
||||
#endif
|
||||
"\t-n serverName\tService name\n"
|
||||
"\t-o <opt>[=val]\tGeneric means to specify options; details in slapd(8)\n"
|
||||
"\t-o <opt>[=val]\tGeneric means to specify options; supported options:\n"
|
||||
#ifdef HAVE_SLP
|
||||
"\t\t\t\tslp[={on|off}]\n"
|
||||
#endif
|
||||
#ifdef HAVE_CHROOT
|
||||
"\t-r directory\tSandbox directory to chroot to\n"
|
||||
#endif
|
||||
"\t-s level\tSyslog level\n"
|
||||
#ifdef HAVE_SLP
|
||||
"\t-S enable SLP registration\n"
|
||||
#endif
|
||||
#if defined(HAVE_SETUID) && defined(HAVE_SETGID)
|
||||
"\t-u user\t\tUser (id or name) to run as\n"
|
||||
#endif
|
||||
@ -425,14 +425,6 @@ int main( int argc, char **argv )
|
||||
ldap_syslog = atoi( optarg );
|
||||
break;
|
||||
|
||||
case 'S': /* enable SLP */
|
||||
#ifdef HAVE_SLP
|
||||
slapd_register_slp++;
|
||||
#else
|
||||
fputs( "slapd: SLP support is not available\n", stderr );
|
||||
#endif
|
||||
break;
|
||||
|
||||
#ifdef LOG_LOCAL4
|
||||
case 'l': /* set syslog local user */
|
||||
syslogUser = cnvt_str2int( optarg,
|
||||
|
Loading…
Reference in New Issue
Block a user