Settle on simply --no-conf, update manpages appropriately

This commit is contained in:
Stefano Rivera 2010-12-20 22:45:37 +02:00
parent 887aa1a9ab
commit 9bc2bbf64f
3 changed files with 5 additions and 6 deletions

View File

@ -103,7 +103,7 @@ def parse(args):
default=None, default=None,
help='Launchpad instance to connect to (default: production)', help='Launchpad instance to connect to (default: production)',
metavar='INSTANCE') metavar='INSTANCE')
p.add_option('--no-conf', '--noconf', p.add_option('--no-conf',
dest='no_conf', dest='no_conf',
default=False, default=False,
help="Don't read config files or environment variables", help="Don't read config files or environment variables",

View File

@ -72,9 +72,9 @@ deleted before \fIbackportpackage\fR exits.
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 .TP
.B \-\-no\-conf\fR, \fB\-\-noconf .B \-\-no\-conf
Do not read any configuration files. Do not read any configuration files, or configuration from environment
This can only be used as the first option given on the command\-line. variables.
.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

View File

@ -30,8 +30,7 @@ All variables are described in the script's manpages. Package\-wide
variables begin with "\fIUBUNTUTOOLS\fR" and are listed below. variables begin with "\fIUBUNTUTOOLS\fR" and are listed below.
Every script which reads the configuration files can be forced to ignore Every script which reads the configuration files can be forced to ignore
them by using \fB\-\-no\-conf\fR as the \fIfirst\fR command\-line them by using the \fB\-\-no\-conf\fR command\-line option.
option.
.SH ENVIRONMENT .SH ENVIRONMENT
All \fBubuntu\-dev\-tools\fR configuration variables can be set (and All \fBubuntu\-dev\-tools\fR configuration variables can be set (and