~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to generate_docs.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-15 12:03:59 UTC
  • mfrom: (4119.3.16 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090615120359-3a9650kr76j1jyf2
(robertc) Make core command lookup fully hookable and extensible.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
Run "%(prog)s --help" for the option reference.
34
34
"""
35
35
 
 
36
import bzrlib.commands
36
37
import sys
37
38
from optparse import OptionParser
38
39
 
68
69
    if len(args) != 2:
69
70
        parser.print_help()
70
71
        sys.exit(1)
 
72
    
 
73
    bzrlib.commands.install_bzr_command_hooks()
71
74
 
72
75
    infogen_type = args[1]
73
76
    infogen_mod = tools.doc_generate.get_module(infogen_type)