Options order....

Guido Ostkamp hg at ostkamp.fastmail.fm
Sun May 6 16:56:25 UTC 2007


>> You need to specify the options before the files.
> I already noticed it. The question is: *why*?

probably because that's pretty much standard for most commands. You parse 
the parameters identified by the '-' prefix (with optional extra arg, if 
defined), and finish this once you find the first argument that has no 
'-'.

Regards

Guido



More information about the Mercurial mailing list