]> git.lizzy.rs Git - rust.git/commit
auto merge of #16512 : wickerwaka/rust/getopt-16348, r=brson
authorbors <bors@rust-lang.org>
Fri, 22 Aug 2014 00:56:00 +0000 (00:56 +0000)
committerbors <bors@rust-lang.org>
Fri, 22 Aug 2014 00:56:00 +0000 (00:56 +0000)
commit711d710278e5f35a948637c2795fd9b1aa911368
tree325f894312a6c773bdad8882e2707011ced96b90
parentb43596b43ed7084aff5954e5c4bdd0b2d52665e4
parent08d7fc76cf6b2fac291cecd7185af818940092e4
auto merge of #16512 : wickerwaka/rust/getopt-16348, r=brson

I don't know if anything else was relying on the old behavior, this seems more correct.

Fixes #16348

If '-F' is allowed to have an optional argument, with the previous version '-FF' would be translated to '-F -F'. In this new version '-FF' translates to '-F' with argument 'F'
src/libgetopts/lib.rs