mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-05 05:51:29 +00:00
Applied Terence's patch for fixing dgetlp argument error and man page update.
This commit is contained in:
parent
14ebb357cc
commit
53174fa9aa
2
dgetlp
2
dgetlp
@ -243,6 +243,8 @@ if __name__ == "__main__":
|
|||||||
default=False, help="Never print any output")
|
default=False, help="Never print any output")
|
||||||
|
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
|
if len(args) != 1:
|
||||||
|
parser.error("Missing URL")
|
||||||
Debug = options.debug
|
Debug = options.debug
|
||||||
Verbose = options.verbose
|
Verbose = options.verbose
|
||||||
Quiet = options.quiet
|
Quiet = options.quiet
|
||||||
|
27
doc/dgetlp.1
27
doc/dgetlp.1
@ -4,30 +4,35 @@
|
|||||||
dgetlp \- simulate ``dget'' behaviour for files hosted at librarian.launchpad.net
|
dgetlp \- simulate ``dget'' behaviour for files hosted at librarian.launchpad.net
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B dgetlp \fR[\fB\-d\fR] <\fBLaunchpad DSC URL\fR>
|
.B dgetlp [\fB\-d\fP|\fB(\fB\-v\fP|\fB\-q\fP)\fP] <\fBLaunchpad DSC URL\fP>
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBdgetlp\fR downloads and optionally extracts the <\fBLaunchpad DSC URL\fR> from Launchpad.
|
\fBdgetlp\fR simulates dget behaviour by downloading and extracting the <\fBLaunchpad DSC URL\fP> from the Launchpad Librarian.
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
Listed below are the command line options for dgetlp:
|
Listed below are the command line options for dgetlp:
|
||||||
.TP
|
.TP
|
||||||
.B \-d
|
.B \-h, \-\-help
|
||||||
Download the .dsc file and display the commands that would be run otherwise.
|
show this help message and exit.
|
||||||
|
.TP
|
||||||
|
.B \-d, \-\-debug
|
||||||
|
Enable debugging.
|
||||||
|
.TP
|
||||||
|
.B \-v, \-\-verbose
|
||||||
|
Enable verbose output.
|
||||||
|
.TP
|
||||||
|
.B \-q, \-\-quiet
|
||||||
|
Never print any output.
|
||||||
.TP
|
.TP
|
||||||
.B <Launchpad DSC URL>
|
.B <Launchpad DSC URL>
|
||||||
This is the source package that you would like to be downloaded from Launchpad.
|
This is the source package that you would like to be downloaded from the Launchpad Librarian.
|
||||||
|
|
||||||
.SH ENVIRONMENT VARIABLES
|
|
||||||
.TP
|
|
||||||
DIST
|
|
||||||
Specifies the default target.
|
|
||||||
|
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.B dgetlp http://launchpadlibrarian.net/10348157/coreutils_5.97-5.4ubuntu1.dsc
|
.B dgetlp http://launchpadlibrarian.net/10348157/coreutils_5.97-5.4ubuntu1.dsc
|
||||||
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
\fBdgetlp\fR was written by Terence Simpson <tsimpson@ubuntu.com> and
|
\fBdgetlp\fR was written by Terence Simpson <tsimpson@ubuntu.com> and
|
||||||
modified by Siegfried-A. Gevatter <rainct@ubuntu.com>.
|
modified by Siegfried-A. Gevatter <rainct@ubuntu.com>. The python rewrite
|
||||||
|
was written by Terence Simpson <tsimpson@ubuntu.com> based off the original.
|
||||||
This man page was written by Ryan Kavanagh <ryanakca@kubuntu.org>.
|
This man page was written by Ryan Kavanagh <ryanakca@kubuntu.org>.
|
||||||
Both are released under the GNU General Public License, version 2 or later.
|
Both are released under the GNU General Public License, version 2 or later.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user