From 9c3d872426871024d9b601f65698bf5d30466d20 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 24 Mar 2018 13:37:32 +0200 Subject: Fix bug in '--' handling --- build2/b.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'build2/b.cxx') 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. } -- cgit v1.1