From 13a972912537d4bd1b473a412d379fb9ba164555 Mon Sep 17 00:00:00 2001 From: "peter@adpm.de" Date: Sat, 5 Mar 2011 17:50:27 +0000 Subject: [PATCH] accept short option names for some options Accept short name equivalents like in ldap... commands for 'server', 'basedn' and 'binddn'. FossilOrigin-Name: 2a477673e78e48e84945078f4885a5c705b7d194d982296587002229dcb7b83b --- shelldap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shelldap b/shelldap index 265fe8e..2673d00 100755 --- a/shelldap +++ b/shelldap @@ -1693,9 +1693,9 @@ use vars '$conf'; $conf = load_config() || {}; Getopt::Long::GetOptions( $conf, - 'server=s', - 'binddn=s', - 'basedn=s', + 'server|H=s', + 'binddn|D=s', + 'basedn|b=s', 'cacheage=i', 'timeout=i', 'tls_cacert=s',