mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Handle and document --noconf in backportpackage
This commit is contained in:
parent
4e827697e8
commit
3764bd12af
@ -103,6 +103,11 @@ def parse(args):
|
|||||||
default=get_value('LPINSTANCE'),
|
default=get_value('LPINSTANCE'),
|
||||||
help='Launchpad instance to connect to (default: %default)',
|
help='Launchpad instance to connect to (default: %default)',
|
||||||
metavar='INSTANCE')
|
metavar='INSTANCE')
|
||||||
|
p.add_option('--no-conf', '--noconf',
|
||||||
|
dest='no_configuration',
|
||||||
|
default=False,
|
||||||
|
help="Don't read config files, must be the first option given",
|
||||||
|
action='store_true')
|
||||||
|
|
||||||
opts, args = p.parse_args(args)
|
opts, args = p.parse_args(args)
|
||||||
if len(args) != 1:
|
if len(args) != 1:
|
||||||
|
@ -71,6 +71,10 @@ deleted before \fIbackportpackage\fR exits.
|
|||||||
.B \-l \fIINSTANCE\fR, \-\-launchpad=\fIINSTANCE\fR
|
.B \-l \fIINSTANCE\fR, \-\-launchpad=\fIINSTANCE\fR
|
||||||
Use the specified instance of Launchpad (e.g. "staging"), instead of
|
Use the specified instance of Launchpad (e.g. "staging"), instead of
|
||||||
the default of "production".
|
the default of "production".
|
||||||
|
.TP
|
||||||
|
.B \-\-no\-conf\fR, \fB\-\-noconf
|
||||||
|
Do not read any configuration files.
|
||||||
|
This can only be used as the first option given on the command\-line.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBbackportpackage\fR fetches a package from one Ubuntu release or
|
\fBbackportpackage\fR fetches a package from one Ubuntu release or
|
||||||
from a specified .dsc path or URL and creates a no-change backport of
|
from a specified .dsc path or URL and creates a no-change backport of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user