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
  • 相关阅读:
    go 代理
    mongo创建用户
    博客搬家&留言板
    noip2020 SD选手迷惑行为大赏
    noip2020游记
    P4174 [NOI2006] 最大获利
    P3327 [SDOI2015]约数个数和
    P5069 [Ynoi2015]纵使日薄西山
    P3747 相逢是问候
    HDE6315 Naive Operations
  • 原文地址:https://www.cnblogs.com/huey/p/4990574.html
Copyright © 2011-2022 走看看