commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bob mcwhirter <...@werken.com>
Subject Re: [CLI] multiple args
Date Fri, 14 Jun 2002 13:17:33 GMT
On Fri, 14 Jun 2002, John Keyes wrote:

> This is one of the reasons why I will be trying to
> get as much documentation as possible together.  The
> idea I have is to create a number of examples that
> mimic the command line of popular command line tools,
> e.g. tar, java, ant(when I get my multiple parsers
> in there :), and any others that people would like
> to recommend.  Then have a piece of documentation to
> describe each example.  It would effectively be a FAQ
> by example.

fwiw, the stopAtFirstNonDashArg parameter (or whatever
I called) was specifically for cvs and javac functionality.

	cvs -d <arg> <argList>

Where you can then subsequently parse <argList> yet again, to get out
a <cmd> and its own flags.

	-bob


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message