]> git.lizzy.rs Git - rust.git/commitdiff
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)
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'

1  2 
src/libgetopts/lib.rs

Simple merge