[Click] Silly question: arguments to config scripts...
Nicholas Weaver
nweaver at ICSI.Berkeley.EDU
Fri Feb 9 00:01:47 EST 2007
Excellent. Does it also work for kernel mode (click-install)?
On Thu, Feb 08, 2007 at 08:59:20PM -0800, Eddie Kohler composed:
> Not a silly question.
>
> You can now do things like this:
>
> ====================x.click=====================
> Message("$MESSAGE");
> ================================================
>
> % click x.click MESSAGE="Hi Nick"
> x.click:1: While configuring 'Message at 1 :: Message':
> Hi Nick
>
> To give $MESSAGE a default value:
>
> ====================x.click=====================
> define($MESSAGE Hi Bob);
> Message("$MESSAGE");
> ================================================
>
> % click x.click
> x.click:1: While configuring 'Message at 1 :: Message':
> Hi Bob
> % click x.click MESSAGE="Hi Nick"
> x.click:1: While configuring 'Message at 1 :: Message':
> Hi Nick
>
> Eddie
>
>
> Nicholas Weaver wrote:
> > Silly question:
> >
> > For a click configuration script, are there some special
> >variables for command line arguments?
> >
--
Nicholas C. Weaver nweaver at icsi.berkeley.edu
This message has been ROT-13 encrypted twice for higher security.
More information about the click
mailing list