From fafd3031314166419966f7cf7e7122defa4226b6 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 21 Sep 2010 18:14:38 +0200 Subject: [PATCH] Manpage for import-bug-from-debian --- doc/import-bug-from-debian.1 | 35 +++++++++++++++++++++++++++++++++++ import-bug-from-debian | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 doc/import-bug-from-debian.1 diff --git a/doc/import-bug-from-debian.1 b/doc/import-bug-from-debian.1 new file mode 100644 index 0000000..e12ecd7 --- /dev/null +++ b/doc/import-bug-from-debian.1 @@ -0,0 +1,35 @@ +.TH import\-bug\-from\-debian "1" "September 21 2010" "ubuntu-dev-tools" +.SH NAME +import\-bug\-from\-debian \- Import bugs from Debian's BTS, and file +them against Ubuntu in LP. + +.SH SYNOPSIS +.B import\-bug\-from\-debian \fR[\fB\-nb\fR] \fIbug\fR... +.br +.B import\-bug\-from\-debian \-h + +.SH DESCRIPTION +\fBimport\-bug\-from\-debian\fR clones bugs from Debian's BTS into +Launchpad. Each \fIbug\fR listed on the command line has its initial +report re-filed against the same source package in Ubuntu. +The Ubuntu bug is linked back to its Debian counterpart. + +Each \fIbug\fR may be provided either as a bug number or URL. + +.SH OPTIONS +.TP +.BR \-h ", " \-\-help +Display a help message and exit. +.TP +.BR \-n ", " \-\-dry\-run +Use the LP staging server so that changes are not permanent. +.TP +.BR \-b ", " \-\-browserless +Don't open the bug in a browser at the end. + +.SH AUTHORS +\fBimport\-bug\-from\-debian\fR was written by James Westby +, +and this manual page was written by Stefano Rivera . +.PP +Both are released under the terms of the GNU General Public License, version 2. diff --git a/import-bug-from-debian b/import-bug-from-debian index 92e19e2..524421a 100755 --- a/import-bug-from-debian +++ b/import-bug-from-debian @@ -38,7 +38,7 @@ debbugs = SOAPpy.SOAPProxy(url, namespace) #debbugs.config.dumpSOAPOut = 1 #debbugs.config.dumpSOAPIn = 1 -parser = OptionParser() +parser = OptionParser(usage="%prog [option] bug ...") parser.add_option("-n", "--dry-run", help="Use the staging server so that changes are not permanent", dest="dry_run", action="store_true")