bzr init incorrect help for --format

Martin Pool mbp at sourcefrog.net
Tue May 2 06:50:41 BST 2006


On 27/04/2006, at 1:10 AM, John Arbash Meinel wrote:

> Just a small patch which makes bzr init display the correct help text.
>
> I haven't committed this anywhere.

+1, could you please commit it?

Or perhaps we should just define the format option globally?

>
> John
> =:->
>
> === modified file 'a/bzrlib/builtins.py'
> --- a/bzrlib/builtins.py
> +++ b/bzrlib/builtins.py
> @@ -902,8 +902,8 @@
>      takes_options = [
>                       Option('format',
>                              help='Create a specific format rather  
> than the'
> -                                 ' current default format.  
> Currently this '
> -                                 ' option only accepts "metadir"',
> +                                 ' current default format. Currently
> supports:'
> +                                 ' metadir, knit, and weave',
>                              type=get_format_type),
>                       ]
>      def run(self, location=None, format=None):
>
>
>
>

-- 
Martin







More information about the bazaar mailing list