Skip to content

[main] optparse: add support for prefix flags (per-flag version)#20947

Merged
silverweed merged 3 commits into
root-project:masterfrom
silverweed:optparse_prefix2
Jan 22, 2026
Merged

[main] optparse: add support for prefix flags (per-flag version)#20947
silverweed merged 3 commits into
root-project:masterfrom
silverweed:optparse_prefix2

Conversation

@silverweed

Copy link
Copy Markdown
Contributor

Alternative version of #20923, that allows to define prefix flags per-flag rather than globally.

@devajithvs

Copy link
Copy Markdown
Contributor

Thanks @silverweed. I've updated the draft PR: #20903 to use this.

@github-actions

github-actions Bot commented Jan 19, 2026

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 12h 42m 30s ⏱️
 3 760 tests  3 759 ✅ 0 💤 1 ❌
74 792 runs  74 791 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit c1b0b4f.

♻️ This comment has been updated with latest results.

@devajithvs devajithvs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. LGTM except the way we handle prefix flags with equals.

Comment thread main/test/optparse_test.cxx Outdated
@silverweed silverweed merged commit acb1f1a into root-project:master Jan 22, 2026
37 of 53 checks passed
@silverweed silverweed deleted the optparse_prefix2 branch January 22, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants