From 65b9c027f6e122b97782e8bae974dad4ff845e27 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 27 Feb 2004 02:12:46 +0000 Subject: [PATCH] Allow no args --- clients/tools/ldapmodify.c | 3 --- 1 file changed, 3 deletions(-) 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(); -- 2.39.5