[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cmd line stuff (was: CVS update: ...)

From: Jonathan S. Shapiro <shap_at_eros-os.org>
Date: 2000-10-18 21:05:13 CEST

> Good. It should also, then, be okay to require that all
> options appear after the subcommand name. Viz.:
> svn <subcommand> [ <option> ... ] [ <arg> ...]
> Yes?

NO. There is an existing standard command processing interface. It is called
getopts(). It specifically (and by design) does *not* require that options
appear before arguments.

The existing standard may be stupid, but it is widely well understood and it
isn't ugly. Unless there is a really *really* compelling reason to discard
it, don't do so.

It took fifteen bloody years to *regularize* the UNIX command interface!

Received on Sat Oct 21 14:36:11 2006

This is an archived mail posted to the Subversion Dev mailing list.