Skip to content

feat: add_option() now supports a required argument.#53

Merged
trevorld merged 1 commit into
masterfrom
mandatory-argument
Mar 23, 2026
Merged

feat: add_option() now supports a required argument.#53
trevorld merged 1 commit into
masterfrom
mandatory-argument

Conversation

@trevorld

Copy link
Copy Markdown
Owner

Closes #17

* `make_option()` (and `add_option()`) now support a `required` argument.
  If `TRUE`, `parse_args()` will throw an error if the option is not provided on the command line (#17).

Closes #17

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@trevorld
trevorld merged commit 8a7e968 into master Mar 23, 2026
5 checks passed
@trevorld
trevorld deleted the mandatory-argument branch March 23, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can we get mandatory argument support ?

1 participant