zoukankan      html  css  js  c++  java
  • Commons CLI

    Option Properties

    The following are the properties that each Option has. All of these can be set using the accessors or using the methods defined in the OptionBuilder.

    NameTypeDescription
    opt java.lang.String the identification string of the Option.
    longOpt java.lang.String an alias and more descriptive identification string
    description java.lang.String a description of the function of the option
    required boolean a flag to say whether the option must appear on the command line.
    arg boolean a flag to say whether the option takes an argument
    args boolean a flag to say whether the option takes more than one argument
    optionalArg boolean a flag to say whether the option's argument is optional
    argName java.lang.String the name of the argument value for the usage statement
    valueSeparator char the character value used to split the argument string, that is used in conjunction with multipleArgs e.g. if the separator is ',' and the argument string is 'a,b,c' then there are three argument values, 'a', 'b' and 'c'.
    type java.lang.Object the type of the argument
    value java.lang.String the value of the option
    values java.lang.String[] the values of the option
  • 相关阅读:
    ES5-Array的新增方法
    ES5-Object扩展方法
    JS利用HTML5的Web Worker实现多线程
    git合并分支到master上面
    JS线程及回调函数执行
    JS实现继承
    蓝桥杯 高精度加法
    蓝桥杯 阶乘计算
    【题集】k倍区间(抽屉原理)
    代码填空:全排列
  • 原文地址:https://www.cnblogs.com/huey/p/4990574.html
Copyright © 2011-2022 走看看