Fix for issue #1490 (ldapmodify -f option description incorrect)
New output:
-f, --filename {filemane}
Specifies the LDIF file containing the changes to apply.
| | |
| | | CATEGORY_MASK_TOOLS | SEVERITY_MASK_SEVERE_ERROR | 873; |
| | | |
| | | /** |
| | | * The message ID for the message that will be used as the description for the |
| | | * filename argument. It does not take any arguments. |
| | | */ |
| | | public static final int MSGID_LDAPMODIFY_DESCRIPTION_FILENAME = |
| | | CATEGORY_MASK_TOOLS | SEVERITY_MASK_INFORMATIONAL | 874; |
| | | |
| | | /** |
| | | * Associates a set of generic messages with the message IDs defined in this |
| | | * class. |
| | | */ |
| | |
| | | "control: %s."); |
| | | registerMessage(MSGID_LDAPMODIFY_POSTREAD_ENTRY, |
| | | "Target entry after the operation:"); |
| | | registerMessage(MSGID_LDAPMODIFY_DESCRIPTION_FILENAME, |
| | | "Specifies the LDIF file containing the changes to apply."); |
| | | |
| | | |
| | | |
| | |
| | | filename = new StringArgument("filename", OPTION_SHORT_FILENAME, |
| | | OPTION_LONG_FILENAME, false, false, |
| | | true, OPTION_VALUE_FILENAME, null, null, |
| | | MSGID_DELETE_DESCRIPTION_FILENAME); |
| | | MSGID_LDAPMODIFY_DESCRIPTION_FILENAME); |
| | | argParser.addArgument(filename); |
| | | |
| | | saslExternal = new BooleanArgument("useSASLExternal", 'r', |