Allow no args

This commit is contained in:
Kurt Zeilenga 2004-02-27 02:12:46 +00:00
parent c850d82559
commit 65b9c027f6

View 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();