Skip to content

fix: remove UsageFunc check from DefaultUsage to prevent infinite rec…#18

Closed
ghost wants to merge 1 commit intomainfrom
unknown repository
Closed

fix: remove UsageFunc check from DefaultUsage to prevent infinite rec…#18
ghost wants to merge 1 commit intomainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 13, 2026

Fixes #15 - DefaultUsage checks if UsageFunc is set and calls it, causing infinite recursion when called from within a UsageFunc. Removing this check makes DefaultUsage composable.

@ghost ghost closed this by deleting the head repository Apr 15, 2026
This pull request was closed.
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.

DefaultUsage causes infinite recursion when called from UsageFunc

0 participants