[Soaplab-users] ACD question
Brought to you by:
marsenger
From: Marc L. <Mar...@DE...> - 2006-02-23 15:15:26
|
Hi, Suppose you have a command line that takes an option -u (let say it means uppercase). If '-u' is omitted, it produces lowercase. I started off like this: boolean convert_to_uppercase [ additional: "Y" prompt: "Convert to uppercase" comment: "method -u" ] A soaplab user would see the option 'convert_to_uppercase'. Internally this is mapped by soaplab to '-u' without a value. Problem is, no matter what value is given (true or false) this option would be put on the command line and this is not what the user expects. Is there a way to make this conditinal ? Something like: comment: "method @($$ =3D=3D true ? '-u' : '') I have a terrible feeling I am overlooking something ... But any suggestions are welcome. Thanks, Marc |