mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
Add -h, --help to pull-lp-source. Add pull-lp-source manpage.
This commit is contained in:
parent
fe8087a169
commit
35392e884d
29
doc/pull-lp-source.1
Normal file
29
doc/pull-lp-source.1
Normal file
@ -0,0 +1,29 @@
|
||||
.TH PULL-LP-SOURCE "1" "4 August 2008" "ubuntu-dev-tools"
|
||||
.SH NAME
|
||||
pull-lp-source \- Download a source package from Launchpad
|
||||
.SH SYNOPSIS
|
||||
.B pull-lp-source <\fBsource package\fR> [\fItarget release\fR]
|
||||
|
||||
.B pull-lp-source -h
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
\fBpull-lp-source\fR downloads and extracts the latest version of
|
||||
<\fBsource package\fR> from Launchpad. If the optional parameter
|
||||
[\fItarget release\fR] is specified, the latest version in that release
|
||||
will be downloaded instead.
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
Listed below are the command line options for requestsync:
|
||||
.TP
|
||||
.B \-h, --help
|
||||
Display a help message and exit.
|
||||
.TP
|
||||
.B <source package>
|
||||
This is the source package that you would like to be downloaded from Launchpad.
|
||||
.TP
|
||||
.B [target release]
|
||||
This is the release that you would like the source package to be downloaded from.
|
||||
This value defaults to the current development release.
|
||||
.SH AUTHOR
|
||||
.PP
|
||||
This manual page was written by Iain Lane
|
@ -56,6 +56,10 @@ if __name__=='__main__':
|
||||
|
||||
args = sys.argv[1:] or []
|
||||
|
||||
if args == [] or args[0] in ['-h', '--help']:
|
||||
usage()
|
||||
sys.exit(0)
|
||||
|
||||
if len(args) >= 1:
|
||||
package = args[0]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user