I have few problems with codegen command line options.
I would like it to have some getopt (see man page) like syntax. However
there are some problems here.
First:
It is the usual convention that we use -- for long options. Long options
are any option that has more than one char. e.g. ss, sd
Either we have to come up with single char alternatives to them or have
to change the syntax to --
Second:
If I use -lc it breaks, I have to use -l c
Third:
We have getopt like implementation in Java. e.g. Xalan has
src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java
We can use this and improve command line option parsing
Fourth:
Without something like getopt, we cannot drop the need for -uri in the
current syntax (I think there a Jira requesting to drop -uri option)
Thoughts please...
Samisa...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]