List of usage examples for org.apache.commons.cli Option setArgName
public void setArgName(String argName)
From source file:com.netscape.cmstools.selftests.SelfTestShowCLI.java
public void createOptions() { Option option = new Option(null, "output", true, "Output file to store selfTest properties."); option.setArgName("file"); options.addOption(option);// w ww.ja v a 2 s . com }
From source file:com.netscape.cmstools.tps.connector.ConnectorShowCLI.java
public void createOptions() { Option option = new Option(null, "output", true, "Output file to store connector properties."); option.setArgName("file"); options.addOption(option);/* ww w .j a va2 s. c o m*/ }
From source file:com.netscape.cmstools.system.KRAConnectorAddCLI.java
public void createOptions() { Option option = new Option(null, "host", true, "KRA host"); option.setArgName("host"); options.addOption(option);// ww w . j a va 2 s . c om option = new Option(null, "port", true, "KRA port"); option.setArgName("port"); options.addOption(option); option = new Option(null, "input-file", true, "Input file"); option.setArgName("input-file"); options.addOption(option); }
From source file:com.netscape.cmstools.tps.cert.TPSCertFindCLI.java
public void createOptions() { Option option = new Option(null, "token", true, "Token ID"); option.setArgName("ID"); options.addOption(option);/* ww w.j a v a 2s. c o m*/ option = new Option(null, "start", true, "Page start"); option.setArgName("start"); options.addOption(option); option = new Option(null, "size", true, "Page size"); option.setArgName("size"); options.addOption(option); }
From source file:com.netscape.cmstools.tps.authenticator.AuthenticatorShowCLI.java
public void createOptions() { Option option = new Option(null, "output", true, "Output file to store authenticator properties."); option.setArgName("file"); options.addOption(option);//from www. ja v a 2 s . c om }
From source file:com.netscape.cmstools.tps.profile.ProfileMappingShowCLI.java
public void createOptions() { Option option = new Option(null, "output", true, "Output file to store profile mapping properties."); option.setArgName("file"); options.addOption(option);/*from ww w . j av a 2s . co m*/ }
From source file:com.esri.geoportal.cli.Application.java
private Options createOptions() { Option help = new Option("h", "help", false, "print this message"); Option ver = new Option("v", "version", false, "print the version information and exit"); Option verbose = new Option("V", "verbose", false, "be extra verbose"); Option file = new Option("f", "file", true, "executes task defined in the file"); Option task = new Option("t", "task", true, "executes task defined as JSON"); Option geo = new Option("g", "geometry", true, "url to accessible geometry service"); geo.setArgName("url"); Options options = new Options(); options.addOption(help);/*from w ww.j a v a 2s . co m*/ options.addOption(ver); options.addOption(verbose); options.addOption(file); options.addOption(task); options.addOption(geo); return options; }
From source file:com.netscape.cmstools.tps.profile.ProfileAddCLI.java
public void createOptions() { Option option = new Option(null, "input", true, "Input file containing profile properties."); option.setArgName("file"); option.setRequired(true);/*from ww w .j a va 2 s . c o m*/ options.addOption(option); }
From source file:com.netscape.cmstools.tps.connector.ConnectorAddCLI.java
public void createOptions() { Option option = new Option(null, "input", true, "Input file containing connector properties."); option.setArgName("file"); option.setRequired(true);//from w w w.ja v a 2s. c om options.addOption(option); }
From source file:com.netscape.cmstools.user.UserAddCLI.java
public void createOptions() { Option option = new Option(null, "fullName", true, "Full name"); option.setArgName("fullName"); option.setRequired(true);/*from w ww . j a v a2s .co m*/ options.addOption(option); option = new Option(null, "email", true, "Email"); option.setArgName("email"); options.addOption(option); option = new Option(null, "password", true, "Password"); option.setArgName("password"); options.addOption(option); option = new Option(null, "phone", true, "Phone"); option.setArgName("phone"); options.addOption(option); option = new Option(null, "type", true, "Type"); option.setArgName("type"); options.addOption(option); option = new Option(null, "state", true, "State"); option.setArgName("state"); options.addOption(option); }