Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

help: Copy the DEFAULT_OPTIONS object rather than directly adding to it #58

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

AtkinsSJ
Copy link
Contributor

This was causing options from previous calls to printUsage() to stick around and be displayed for subsequent calls.

This was causing options from previous calls to printUsage() to stick
around and be displayed for subsequent calls.
@KernelDeimos
Copy link
Collaborator

Ah good ol' unintended mutation of static objects

@KernelDeimos KernelDeimos merged commit 4076f7f into HeyPuter:trunk Mar 12, 2024
3 checks passed
@AtkinsSJ AtkinsSJ deleted the fix-help-option-output branch March 12, 2024 22:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants