]> git.sur5r.net Git - openldap/commitdiff
Allow no args
authorKurt Zeilenga <kurt@openldap.org>
Fri, 27 Feb 2004 02:12:46 +0000 (02:12 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 27 Feb 2004 02:12:46 +0000 (02:12 +0000)
clients/tools/ldapmodify.c

index 8fcab314356f3e535971d68818a29d7492a8b2ad..2264bce9fbb8e993d4b9fb0feefe42cd4bdf45a9 100644 (file)
@@ -210,9 +210,6 @@ main( int argc, char **argv )
        /* strncmp instead of strcmp since NT binaries carry .exe extension */
        ldapadd = ( strncasecmp( prog, "ldapadd", sizeof("ldapadd")-1 ) == 0 );
 
-       /* Print usage when no parameters */
-       if( argc < 2 ) usage();
-
        tool_args( argc, argv );
 
        if ( argc != optind ) usage();