|
Boost : |
From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-11-16 13:22:27
--- In boost_at_y..., Petr Ovchenkov <ptr_at_P...> wrote:
> > 1. command line argument formats
> > a. -<one letter key> <value>
> > b. -<one letter key><value>
> > c. -<key> <value>
> > d. -<option> - any length
> > e. /<key> <value> - and all other cases like a,b,c but with /
> > instead
> > g. --<key> <value>
> > h. -<key substring> <value>
> > An example: let say you expecting argument -osagent_port
> > then following argument lists should be valid:
> > -o 15000
> > -osa 15000
> > -osagent_port 15000
> > On the other hand it should perform validity checks. For
example
> > if you also expect another argument -osagent_host. then
first 2
> > argument list above should generate runtime error and 3d
should
> > pass. Arguments integrity check should also be performed,
i.e.
> > you should not allow for user to define 2 argument like this:
> > "-port"
> > "-port_type"
>
> i. -<key>=<value>
> j. --<key>=<value>
> k. -<key>=<value>,<value>,....
> l. --<key>=<value>,<value>,....
>
Sure. I forgot.
>
>
> - ptr
Gennadiy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk