/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_man.py

  • Committer: Martin Pool
  • Date: 2009-06-10 03:31:01 UTC
  • mfrom: (4070.12.3 249908-doc-generate)
  • mto: This revision was merged to the branch mainline in revision 4464.
  • Revision ID: mbp@sourcefrog.net-20090610033101-ce26xd79i9cbmpsd
Merge other outstanding work on 249908

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2010 Canonical Ltd
 
1
# Copyright 2005 Canonical Ltd.
2
2
 
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
123
123
                if argname is not None:
124
124
                    l += ' ' + argname
125
125
                if short_name:
 
126
                    assert len(short_name) == 1
126
127
                    l += ', -' + short_name
127
128
                l += (30 - len(l)) * ' ' + (help or '')
128
129
                wrapped = textwrap.fill(l, initial_indent='',
171
172
man_head = """\
172
173
.TH bzr 1 "%(datestamp)s" "%(version)s" "Bazaar"
173
174
.SH "NAME"
174
 
%(bzrcmd)s - Bazaar next-generation distributed version control
 
175
Bazaar (%(bzrcmd)s) - next-generation distributed version control
175
176
.SH "SYNOPSIS"
176
177
.B "%(bzrcmd)s"
177
178
.I "command"
241
242
.br
242
243
log10 = log --short -r -10..-1
243
244
.SH "SEE ALSO"
244
 
.UR http://www.bazaar.canonical.com/
245
 
.BR http://www.bazaar.canonical.com/
 
245
.UR http://www.bazaar-vcs.org/
 
246
.BR http://www.bazaar-vcs.org/
246
247
"""
247
248