diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-10 17:05:31 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-17 14:35:03 +0300 |
commit | cec96e9c34e608c5f88b73adce5a32fce76d09e6 (patch) | |
tree | 1910874381338ffb6f19f392b7caaaa2f03a9d49 /bpkg/bpkg.cxx | |
parent | d4a64f8409d872c9ed8e969979d466b320eca927 (diff) |
Allow options and vars in any order inside argument groups in pkg-build
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. } |