--- cli.py | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/cli.py b/cli.py index b0a6292..aefb841 100644 --- a/cli.py +++ b/cli.py @@ -1434,8 +1434,7 @@ class YumOptionParser(OptionParser): '-e', '--errorlevel', '--installroot', '--disableplugin', '--enableplugin', '--releasever', - '--setopt', - '--'), + '--setopt'), args) except ValueError, arg: self.base.usage() @@ -1699,6 +1698,7 @@ def _filtercmdline(novalopts, valopts, args): Will raise ValueError if there was a problem parsing the command line. ''' + # ' xemacs syntax hack out = [] args = list(args) # Make a copy because this func is destructive @@ -1709,6 +1709,9 @@ def _filtercmdline(novalopts, valopts, args): if opt in valopts: out.append(a) + elif a == '--': + out.append(a) + elif a in novalopts: out.append(a) -- 1.7.3.4 _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel