[PATCH] checkout --light
Aaron Bentley
aaron.bentley at utoronto.ca
Wed May 10 16:27:37 BST 2006
John A Meinel wrote:
> The way we handled it with 'bzr log' is to use a '--log-format=foo',
> which could be supplied multiple times, and the last one taken.
Another option would be to allow '--light=false'. This would work for
all booleans, and provide a way to reverse their meaning. But '--light
false' wouldn't work.
> I think ultimately we would still want to look into using optparse,
> since it provides a little bit more standard functionality. It does
> require some work, since optparse likes to call 'sys.exit()' unless
> overridden.
Yes, I think we could get the best of both worlds by using optparse as a
backend for our current way of specifying command options.
Aaron
More information about the bazaar
mailing list