~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to generate_docs.py

  • Committer: Robert Collins
  • Date: 2009-06-15 08:56:52 UTC
  • mto: This revision was merged to the branch mainline in revision 4441.
  • Revision ID: robertc@robertcollins.net-20090615085652-5q1mpqk2hq2fczrh
UnbreakĀ docĀ generation.

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)