|
Boost : |
From: Kevin Cline (kcline_at_[hidden])
Date: 2001-11-29 12:12:25
christian.engstrom_at_[hidden] writes:
> > This means that you can't have an option that takes multiple
> > parameters:
> >
> > --foo bar1 bar2
> >
> > You can get tricky with the parsing by also requiring commas
> > between parameters:
> >
> > --foo=bar1,bar2
> >
> > But now the syntax is becoming foreign to most users. I'm not sure
> > I like that.
>
> My own personal preference for handling multiple arguments to an
> option would be to have them enclosed in parentheses, like this:
>
> --foo = (bar1 bar2)
That's hopelessly awkward for Unix; parentheses have meaning to the
shell, and must be quoted to be passed to a program.
-- Kevin Cline
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk