parser.add_option('-i', '--ignore-arches', dest='ignore_arches', action='store_true',
default=False, help='ignore arch-specific failures (where arch != host)')
+ parser.add_option("--ignore-default-opts",
+ action="store_true",
+ help="do not use the REPOMAN_DEFAULT_OPTS environment variable")
+
parser.add_option('-I', '--ignore-masked', dest='ignore_masked', action='store_true',
default=False, help='ignore masked packages (not allowed with commit mode)')
opts, args = parser.parse_args(argv[1:])
+ if not opts.ignore_default_opts:
+ default_opts = repoman_settings.get("REPOMAN_DEFAULT_OPTS", "").split()
+ if default_opts:
+ opts, args = parser.parse_args(default_opts + sys.argv[1:])
+
if opts.mode == 'help':
parser.print_help(short=False)
\fB\-i\fR, \fB\-\-ignore\-arches\fR
Ignore arch-specific failures (where arch != host)
.TP
+\fB\-\-ignore\-default\-opts\fR
+Do not use the \fIREPOMAN_DEFAULT_OPTS\fR environment variable.
+.TP
\fB\-I\fR, \fB\-\-ignore\-masked\fR
Ignore masked packages (not allowed with commit mode)
.TP
"PORTAGE_RSYNC_EXTRA_OPTS", "PORTAGE_RSYNC_OPTS",
"PORTAGE_RSYNC_RETRIES", "PORTAGE_SYNC_STALE",
"PORTAGE_USE", "PORT_LOGDIR", "PORT_LOGDIR_CLEAN",
- "QUICKPKG_DEFAULT_OPTS",
+ "QUICKPKG_DEFAULT_OPTS", "REPOMAN_DEFAULT_OPTS",
"RESUMECOMMAND", "RESUMECOMMAND_FTP",
"RESUMECOMMAND_HTTP", "RESUMECOMMAND_HTTPS",
"RESUMECOMMAND_RSYNC", "RESUMECOMMAND_SFTP",