~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/doc_generate/autodoc_man.py

  • Committer: Martin Pool
  • Date: 2010-08-05 08:18:06 UTC
  • mto: (5050.3.20 2.2)
  • mto: This revision was merged to the branch mainline in revision 5371.
  • Revision ID: mbp@sourcefrog.net-20100805081806-4c4gjsiw9i3j0c3w
Clear off progress bars by painting spaces.

This selectively reverts part of the previous progress change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2005 Canonical Ltd.
 
1
# Copyright (C) 2005-2010 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
127
126
                    l += ', -' + short_name
128
127
                l += (30 - len(l)) * ' ' + (help or '')
129
128
                wrapped = textwrap.fill(l, initial_indent='',
130
 
                                        subsequent_indent=30*' ')
 
129
                    subsequent_indent=30*' ',
 
130
                    break_long_words=False,
 
131
                    )
131
132
                option_str = option_str + wrapped + '\n'       
132
133
 
133
134
    aliases_str = ""
170
171
man_head = """\
171
172
.TH bzr 1 "%(datestamp)s" "%(version)s" "Bazaar"
172
173
.SH "NAME"
173
 
Bazaar (%(bzrcmd)s) - next-generation distributed version control
 
174
%(bzrcmd)s - Bazaar next-generation distributed version control
174
175
.SH "SYNOPSIS"
175
176
.B "%(bzrcmd)s"
176
177
.I "command"
185
186
.B "help"
186
187
.I "command"
187
188
.SH "DESCRIPTION"
188
 
Bazaar (or %(bzrcmd)s) is a project of Canonical to develop an open source
 
189
Bazaar (or %(bzrcmd)s) is a project of Canonical to develop an free
189
190
distributed version control system that is powerful, friendly, and scalable.
190
191
Version control means a system that keeps track of previous revisions
191
192
of software source code or similar information and helps people work on it in teams.
240
241
.br
241
242
log10 = log --short -r -10..-1
242
243
.SH "SEE ALSO"
243
 
.UR http://www.bazaar-vcs.org/
244
 
.BR http://www.bazaar-vcs.org/
 
244
.UR http://www.bazaar.canonical.com/
 
245
.BR http://www.bazaar.canonical.com/
245
246
"""
246
247