From: Zac Medico Date: Sat, 3 Aug 2013 01:27:20 +0000 (-0700) Subject: repoman: use parse_known_args X-Git-Tag: v2.2.0_alpha192~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=651292d1b380e7e027a47cf5430a715d74f2799a;p=portage.git repoman: use parse_known_args --- diff --git a/bin/repoman b/bin/repoman index 638bd3700..452ca4881 100755 --- a/bin/repoman +++ b/bin/repoman @@ -227,7 +227,7 @@ def ParseArgs(argv, qahelp): default_opts = portage.util.shlex_split( repoman_settings.get("REPOMAN_DEFAULT_OPTS", "")) if default_opts: - opts, args = parser.parse_args(default_opts + sys.argv[1:]) + opts, args = parser.parse_known_args(default_opts + sys.argv[1:]) if opts.mode == 'help': parser.print_help(short=False)