commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Papendieck, Thomas" <Thomas.Papendi...@opitz-consulting.com>
Subject AW: Names less multi value option
Date Fri, 02 Dec 2011 09:23:48 GMT
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


Mime
View raw message