~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to generate_docs.py

  • Committer: Martin Pool
  • Date: 2009-06-19 09:06:56 UTC
  • mfrom: (4463 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4464.
  • Revision ID: mbp@sourcefrog.net-20090619090656-d5weqeecyscv8kqp
merge news

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 = doc_generate.get_module(infogen_type)