Skip to content
Snippets Groups Projects
Commit 65b9c027 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Allow no args

parent c850d825
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment