diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-24 13:37:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-24 13:37:32 +0200 |
commit | 9c3d872426871024d9b601f65698bf5d30466d20 (patch) | |
tree | 9845a7ed78b4eeef10bc408e76f6978b16cdbd2a /build2/b.cxx | |
parent | 903eeb2c681f2008602bf48265ec628e4fdc9225 (diff) |
Fix bug in '--' handling
Diffstat (limited to 'build2/b.cxx')
-rw-r--r-- | build2/b.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/build2/b.cxx b/build2/b.cxx index ad54922..e78eebd 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -218,10 +218,8 @@ main (int argc, char* argv[]) // Parse the next chunk of options until we reach an argument (or // eos). // - ops.parse (scan); - - if (!scan.more ()) - break; + if (ops.parse (scan)) + continue; // Fall through. } |