Skip to content

SOLR-17697: visually flag required options#4433

Merged
epugh merged 3 commits into
apache:jira/SOLR-17697-picoclifrom
epugh:SOLR-17697-visually-flag-required-options
May 18, 2026
Merged

SOLR-17697: visually flag required options#4433
epugh merged 3 commits into
apache:jira/SOLR-17697-picoclifrom
epugh:SOLR-17697-visually-flag-required-options

Conversation

@epugh
Copy link
Copy Markdown
Contributor

@epugh epugh commented May 16, 2026

https://issues.apache.org/jira/browse/SOLR-17697

Description

Generated Options documentation doesn't reflect if they are required or not, which is a key thing users want to know!

Solution

Me and claude found out that there are some limitations in Picocli's Man Page Generator, and so we solved it with some more gradle code. I opened up remkop/picocli#2519 for a more permanent solution.

Here is a screenshot with current ref guide on left, and with this change, on the right:

image

Tests

manual

@epugh epugh requested a review from janhoy May 16, 2026 14:28
@github-actions github-actions Bot added documentation Improvements or additions to documentation tool:build labels May 16, 2026
@epugh epugh merged commit d113b0f into apache:jira/SOLR-17697-picocli May 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation tool:build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants