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

Re: svn commit: r24502 - trunk/tools/hook-scripts

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-04-10 02:17:50 CEST

Hi,

2007/4/10, Daniel Rall <dlr@collab.net>:

> > Author: kou
> > Date: Sun Apr 8 22:05:02 2007
> > New Revision: 24502
> >
> > Log:
> > Add --from-domain option.

> > +class OptionParser
> > + class CanNotCoexistOption < ParseError
>
> CannotCoexistOption
>
> > + const_set(:Reason, 'can not coexist option'.freeze)
>
> "Cannot coexist option"

> > opts.on("-fFROM", "--from=FROM",
> > "Use FROM as from address") do |from|
> > + if options.from_domain
> > + raise OptionParser::CanNotCoexistOption,
> > + "can't coexist with --from-domain"
> ...
>
> We used "cannot" above. Either avoid a contraction here, or use a
> contraction in both spots.

Thanks for pointing out. I've fixed in r24508.

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 10 02:19:03 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.