You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Memory Makers <me...@gmail.com> on 2011/12/01 23:31:25 UTC
Names less multi value option
Hi,
Say I wanted to implement a nameless multi value options like the cat
command in UNIX:
cat file1 file2 ... fileN
how do I do that in apache cli?
Thanks,
MM.
AW: Names less multi value option
Posted by "Papendieck, Thomas" <Th...@opitz-consulting.com>.
Hi MM,
> Say I wanted to implement a nameless multi value options like the cat
> command in UNIX:
>
> cat file1 file2 ... fileN
>
> how do I do that in apache cli?
>From the Javadoc of CommandLine:
http://commons.apache.org/cli/api-1.2/org/apache/commons/cli/CommandLine.html
---------
String[] getArgs()
Retrieve any left-over non-recognized options and arguments
---------
bye
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org