]> git.sur5r.net Git - openldap/commitdiff
advertise known exops
authorPierangelo Masarati <ando@openldap.org>
Thu, 13 Aug 2009 15:52:56 +0000 (15:52 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 13 Aug 2009 15:52:56 +0000 (15:52 +0000)
clients/tools/ldapexop.c

index 026ad63fcbdc26315e4c8897a400442a4ba71ef0..e9f5d285dec5535bd4a2370d2108afd723c38ade 100644 (file)
@@ -43,6 +43,9 @@ usage( void )
 {
        fprintf( stderr, _("Issue LDAP extended operations\n\n"));
        fprintf( stderr, _("usage: %s [options] <oid|oid:data|oid::b64data>\n"), prog);
+       fprintf( stderr, _("       %s [options] whoami\n"), prog);
+       fprintf( stderr, _("       %s [options] cancel <id>\n"), prog);
+       fprintf( stderr, _("       %s [options] refresh <DN> [<ttl>]\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: