diff options
Diffstat (limited to 'bpkg/bpkg.cxx')
-rw-r--r-- | bpkg/bpkg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index 953a5ad..567feff 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -223,8 +223,8 @@ init (const common_options& co, // Parse the next chunk of options until we reach an argument (or eos). // - if (o.parse (scan)) - continue; + if (o.parse (scan) && !scan.more ()) + break; // Fall through. } |