~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_man.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-05 01:48:32 UTC
  • mto: This revision was merged to the branch mainline in revision 4410.
  • Revision ID: john@arbash-meinel.com-20090605014832-vxltjd08943mylqd
Fix the GPL header

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='',
129
 
                    subsequent_indent=30*' ',
130
 
                    break_long_words=False,
131
 
                    )
 
130
                                        subsequent_indent=30*' ')
132
131
                option_str = option_str + wrapped + '\n'       
133
132
 
134
133
    aliases_str = ""
171
170
man_head = """\
172
171
.TH bzr 1 "%(datestamp)s" "%(version)s" "Bazaar"
173
172
.SH "NAME"
174
 
%(bzrcmd)s - Bazaar next-generation distributed version control
 
173
Bazaar (%(bzrcmd)s) - next-generation distributed version control
175
174
.SH "SYNOPSIS"
176
175
.B "%(bzrcmd)s"
177
176
.I "command"
186
185
.B "help"
187
186
.I "command"
188
187
.SH "DESCRIPTION"
189
 
 
190
 
Bazaar (or %(bzrcmd)s) is a distributed version control system that is powerful, 
191
 
friendly, and scalable.  Bazaar is a project of Canonical Ltd and part of 
192
 
the GNU Project to develop a free operating system.
193
 
 
194
 
Bazaar keeps track of changes to software source code (or similar information);
195
 
lets you explore who changed it, when, and why; merges concurrent changes; and
196
 
helps people work together in a team.
 
188
Bazaar (or %(bzrcmd)s) is a project of Canonical to develop an open source
 
189
distributed version control system that is powerful, friendly, and scalable.
 
190
Version control means a system that keeps track of previous revisions
 
191
of software source code or similar information and helps people work on it in teams.
197
192
"""
198
193
 
199
194
man_foot = """\
245
240
.br
246
241
log10 = log --short -r -10..-1
247
242
.SH "SEE ALSO"
248
 
.UR http://bazaar.canonical.com/
249
 
.BR http://bazaar.canonical.com/
 
243
.UR http://www.bazaar-vcs.org/
 
244
.BR http://www.bazaar-vcs.org/
250
245
"""
251
246