--On Friday, June 16, 2023 10:00 PM +0200 "A. Schulze" sca@andreasschulze.de wrote:
Am 16.06.23 um 16:30 schrieb Quanah Gibson-Mount:
-o ldif-wrap=no
man slapadd say "-o ldif_wrap=no" (note the underscore)
Is one version legacy, and the other preferred?
They're equivalent. The code even uses both in debug messages in slapcommon.c:
} else if ( ( strncasecmp( optarg, "ldif_wrap", len ) == 0 ) || ( strncasecmp( optarg, "ldif-wrap", len ) == 0 ) ) {
Debug( LDAP_DEBUG_ANY, "unable to parse ldif_wrap="%s".\n", p );
Debug( LDAP_DEBUG_ANY, "ldif-wrap meaningless for tool.\n" );
--Quanah