Charles P Wright wrote:
> Hello,
>
> I am wondering how people would feel about changing the generic command
> line processing option from something like:
>
> -foo bar
>
> That sets the generic variable named foo to the value bar to something
> along the following:
>
> -set foo=bar
>
> This would eliminate ambiguity in command line processing so that a
> mistyped option is not silently ignored.
>
> Another thing that I've been thinking of is changing the command line
> parsing to some sort of table driven parsing, so that it is easier to add
> command line options without so much code.  Right now option processing is
> 834 lines of code, much of which is redundant.  Does anyone have thoughts
> on this?
>
> Charles
>
>   

Charles,

It looks like an acceptable alternative. We added to much flexibility by 
authorizing -foo bar. So your proposal is ok.

For the command line parsing code, it grew with no re-factoring, leading 
to much redundant code. Again, your changes seems very necessary.

Olivier.

-- 
Olivier
HP OpenCall Software
http://www.hp.com/go/opencall/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to