From f32bc8bc85e9d67d93ed08e35fc0724dc191a81e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 13 Aug 2009 15:52:56 +0000 Subject: [PATCH] advertise known exops --- clients/tools/ldapexop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/tools/ldapexop.c b/clients/tools/ldapexop.c index 026ad63fcb..e9f5d285de 100644 --- a/clients/tools/ldapexop.c +++ b/clients/tools/ldapexop.c @@ -43,6 +43,9 @@ usage( void ) { fprintf( stderr, _("Issue LDAP extended operations\n\n")); fprintf( stderr, _("usage: %s [options] \n"), prog); + fprintf( stderr, _(" %s [options] whoami\n"), prog); + fprintf( stderr, _(" %s [options] cancel \n"), prog); + fprintf( stderr, _(" %s [options] refresh []\n"), prog); tool_common_usage(); exit( EXIT_FAILURE ); } @@ -152,8 +155,6 @@ main( int argc, char *argv[] ) case 2: dn.bv_val = argv[ 1 ]; dn.bv_len = strlen( dn.bv_val ); - - case 1: break; default: -- 2.39.5