aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx6
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.
}