ITS#9577 Also exit when started with just -V

This commit is contained in:
Ondřej Kuzník 2025-12-10 09:49:28 +00:00 committed by Quanah Gibson-Mount
parent 93d7b9ef7a
commit 127b34eb0b

View file

@ -205,7 +205,7 @@ usage( char *name )
#if defined(HAVE_SETUID) && defined(HAVE_SETGID)
"\t-u user\t\tUser (id or name) to run as\n"
#endif
"\t-V\t\tprint version info (-VV exit afterwards, -VVV print\n"
"\t-V/-VV\t\tprint version info and exit, -VVV also print\n"
"\t\t\tinfo about static overlays and backends)\n"
);
}
@ -587,7 +587,7 @@ unhandled_option:;
}
}
if ( version > 1 ) goto stop;
goto stop;
}
#if defined(LDAP_DEBUG) && defined(LDAP_SYSLOG)