https://bugs.openldap.org/show_bug.cgi?id=8618
--- Comment #20 from Konstantin Andreev grapvar@gmail.com --- (In reply to Howard Chu from comment #19)
I think you might be mistaken with removing -h/-p. Why not to leave it as-is? It just works.
These options have been deprecated since 2000, so you've had literally 20 years to migrate away from them. "It just works" is incorrect, these options are inadequate for most modern use cases. E.g., they're insufficient for specifying ldaps or ldapi connections, while using -H with a URI handles all use cases.
You should ask instead: how many people do use them? It costs negligible to zero for you to just leave these features well enough alone, but it always costs money and efforts to migrate away.
These options have been deprecated since 2000, so you've had literally 20 years to migrate away from them.
If you are locked in OpenLDAP. But people use them because they are "lowest common denominator", supported by virtually any ldaptools suite. If you discard these options, you become (very?) special.
The most balanced approach is to remove *being used* features only when they come into conflict with new features or enhancements. Not just because "there is another way". What is the advantage in removing -h/-p?