At 09:51 AM 7/6/2001 -0500, Jarkko Hietaniemi wrote:
> > I'm not sure we need a separate flag for optimization level and
> > assumptions, but if we do something more like what Compaq C does:
> >
> >    -optimize=(level=5,inline) -assume=(nosub_redefinition,notype_change)
>
>The () will unleash the hell in UNIX shells.
>
> > Yes, I know it's wordier, but the above can be abbreviated to:
> >
> >    -o=(5,in) -a=(nosub,notype)
> >
> > which isn't bad at all.
>
>Just drop the () and if someone needs spaces in the arguments they'll
>use whatever the CLI needs to quote those.

Fair enough. The parens are nice but hardly required.

>And before someone pipes in with -O, I remind that we want to be
>portable so we can't assume case-sensitive CLIs.

Yep. Besides, case-sensitive single-character are a royal pain to remember 
(ignoring the whole "every program has a mildly different set" problem), 
and really are a bit of a hack wedged in to avoid multi-character switches. 
And since we're not going to, the potential confusion just doesn't seem 
worth the keystroke savings.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to