renaming ldapmodify tool causes missing line in help text

UNCONFIRMED
Unassigned

Status

Directory
LDAP C SDK
UNCONFIRMED
9 years ago
9 years ago

People

(Reporter: Ulf Weltman, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Build Identifier: 

If the ldapmodify tool is renamed (e.g. to ldapmodify-bin, in order to wrap it with a script) then the help text will not include this line:
    -a          add entries

The tool is hard-coded to only print that line if its name is "ldapmodify", see:
http://mxr.mozilla.org/mozilla/source/directory/c-sdk/ldap/clients/tools/ldapmodify.c#100


Reproducible: Always
You need to log in before you can comment on or make changes to this bug.