From: Kurt Zeilenga Date: Fri, 27 Feb 2004 02:12:46 +0000 (+0000) Subject: Allow no args X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~400 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=65b9c027f6e122b97782e8bae974dad4ff845e27;p=openldap Allow no args --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 8fcab31435..2264bce9fb 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -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();