Skip to content

Fix 3 bugs in ConfigArgParse usage - #115

Merged
henrikingo merged 1 commit into
masterfrom
config-arg-parse-fixup
Dec 21, 2025
Merged

henrikingo merged 1 commit into
masterfrom
config-arg-parse-fixup

Conversation

@Gerrrr

@Gerrrr Gerrrr commented Dec 16, 2025

Copy link
Copy Markdown
Contributor
  1. --help no longer throws exceptions
  2. ConfigArgParse parser is passed into the actual commands
  3. Throw when passed an unrecognized CLI arg

@Gerrrr
Gerrrr force-pushed the config-arg-parse-fixup branch 3 times, most recently from 942589c to ac21e6e Compare December 16, 2025 05:32
1. --help no longer throws exceptions
2. ConfigArgParse is passed into the actual commands
3. Throw when passed an unrecognized CLI arg
@Gerrrr
Gerrrr force-pushed the config-arg-parse-fixup branch from ac21e6e to 7c78e1b Compare December 18, 2025 07:32
@Gerrrr
Gerrrr marked this pull request as ready for review December 18, 2025 07:38
@henrikingo

Copy link
Copy Markdown
Contributor

Idea: We could add a simple script that could run in a pre-commit hook, that would just do otava --help > docs/HELP_PAGE.md. This way any investment we put into the output of the --help command, would automatically serve also those who read docs.

@henrikingo
henrikingo merged commit 2e34634 into master Dec 21, 2025
6 checks passed
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.

2 participants