PSearch.java revision 248ed6026dad06a3596549af7f5177c7fb25f26e
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * You can obtain a copy of the license at 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * file and include the License file at 2N/A * add the following below this CDDL HEADER, with the fields enclosed 2N/A * by brackets "[]" replaced with your own identifying information: 2N/A * Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2009-2010 Sun Microsystems, Inc. 2N/A String usage =
"Usage: psearch -h <hostname> -p <port> -b <suffix>" +
"[-D bindDN] [-w bindPW]" +
"-f <fileURL+file name>" +
"-s" +
"-n <number of thread>" +
" -o <add,modify,delete,moddn>"+
" -l";
2N/A // Check for these options. -H means to print out a usage message. 2N/A // Get the arguments specified for each option. 2N/A // If a port number was specified, convert the port value 2N/A //operations all by default 2N/A // to disable the log files 2N/A // to enable diff format 2N/A // to enable system out logs