~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to generate_docs.py

  • Committer: Vincent Ladeuil
  • Date: 2009-06-22 12:52:39 UTC
  • mto: (4471.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4472.
  • Revision ID: v.ladeuil+lp@free.fr-20090622125239-kabo9smxt9c3vnir
Use a consistent scheme for naming pyrex source files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#
15
15
# You should have received a copy of the GNU General Public License
16
16
# along with this program; if not, write to the Free Software
17
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
17
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 
19
19
"""%(prog)s - generate information from built-in bzr help
20
20
 
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)