commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Oxspring <roxspr...@imapmail.org>
Subject Re: [CLI] problem
Date Tue, 12 Oct 2004 15:27:12 GMT
Sorry for the delayed response,

Which version of CLI are you using?  Am fairly sure this should be easy in v1 
but not so sure about v2... would have to ponder some more.

Thanks,

Rob

c.menssen@web.de wrote:
> Hi!
> I wants to use CLI in my Application, but i have this Problem:
> The user must specify a config-file via CommandLine. After this, a class analyse
> this file and load for example the class "tar" or "winrar". these classes can
> specify additional options for cli.
> So at first, the only required argument is "config" (in which is the path to the
> config stored), and after the analyse of the config additional (required)
> arguments are set (by example, the class "winrar" sets the req. arguments
> source, destination and compressionlevel).
> 
> So, here is the problem:
> cli makes a exception, when i put some arguments at the commandline, which are
> not set as argument ( these arguments will set after analyse of the config ).
> how can i force cli to ignore these additional arguments, which aren't set.
> 
> PS: Sorry for my english, im a german :-)
> 
> Greetings
> Chris
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message