OptionParser.parse_args: return leftover arguments. Fixes #2008181d23ffe4ed05c9216269c64eebcaeda15ed1664/head
commit8181d23ffe4ed05c9216269c64eebcaeda15ed16
authorChristoph Reiter <reiter.christoph@gmail.com>
Sat, 21 Apr 2018 06:56:33 +0000 (21 08:56 +0200)
committerChristoph Reiter <reiter.christoph@gmail.com>
Sat, 21 Apr 2018 07:20:50 +0000 (21 09:20 +0200)
tree7378295742ee363b0893d16ee70e456d50e7fe15
parentea358359a34ad96bf395641911aeaf80182d3aad
OptionParser.parse_args: return leftover arguments. Fixes #200

Adjust the tests accordingly.
Not sure why it was that way and tested as well.
gi/_option.py
tests/test_option.py