Re: using commons cli options

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: using commons cli options

Amey Jadiye
++ Commons Users

On Feb 22, 2018 5:43 AM, "Ted Yu" <[hidden email]> wrote:

In the following project, we try to use commons cli options:

    addOptWithArg(REGIONSERVER_COUNT_KEY, "Total number of region servers.
Default: '"


When the following is entered on the command line:

-region_servers 1

parser didn't get the value of 1, resulting in default value being used.

We currently use commons cli 1.4

I debugged a little in Eclipse with 1.5 but the result is the same.

Did I miss something ?