From: Eric B. <er...@go...> - 2001-05-28 22:19:10
|
Andreas Leitner wrote: > > Btw, I think I will extend condition variables to include values. just > like environment variables. Therefor I was looking for a new command > line syntax and came up with that: What does the C preprocessor do in that case? Is it something like that: -DFOO=BAR ? > variable-definitions: --define="VAR_NAME[=VALUE]( VAR_NAME[=VALUE])*" > > examples: > --define="FOO=BAR" > --define="FOO=bar ISE VE PLATFORM=linux" > > this new form has the advantage that it is get-opt conform. Now this is > not GOBO conform, but I think in this case we should consider changing > the ge-tools to conform to get-opt instead. What do you think? Why not, but I'm a little bit skeptical about having several definitions in the same --define option. Furthermore, if --define=FOO is the long option usage, isn't there a short option usage as well such as -d FOO ? -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |