[PATCH]: shell-complete command

Lalo Martins lalo at exoweb.net
Tue Aug 23 01:57:46 BST 2005


And so says Clint Adams on 23/08/05 08:15...
> This is one way to address that problem.
(patch snipped)
> +    takes_options = {'all':None, 'show-ids':None, 'revision':'rev'}
(patch snipped)

Since it's a design goal to have the options be consistent, I'd rather
have these definitions in a centralized place, such as the OPTIONS variable.

(Actually, OPTIONS already "knows" whether an option takes an argument
or not, and the type.  You just don't get a meta-variable name.)

best,
                                               Lalo Martins
--
      So many of our dreams at first seem impossible,
       then they seem improbable, and then, when we
       summon the will, they soon become inevitable.
--
http://www.exoweb.net/                  mailto:lalo at exoweb.net
GNU: never give up freedom                 http://www.gnu.org/





More information about the bazaar mailing list