Skip to content

Comments

Fix Environment Variables Not Working with Command-Line Arguments#199

Open
mcder0015 wants to merge 2 commits intografana:mainfrom
mcder0015:env-fix
Open

Fix Environment Variables Not Working with Command-Line Arguments#199
mcder0015 wants to merge 2 commits intografana:mainfrom
mcder0015:env-fix

Conversation

@mcder0015
Copy link

Environment variables are overridden by command-line arguments defaults due to them having a default value and applying after the environment variables are assigned.

This fix makes sure that only command-line arguments that are set override environment variables, leaving the value that was previously set by the environment untouched if it was not.

Closes #198

@CLAassistant
Copy link

CLAassistant commented Nov 17, 2025

CLA assistant check
All committers have signed the CLA.

@briangann briangann self-requested a review February 2, 2026 06:46
@briangann briangann added the bug Something isn't working label Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Environment Variables Can't Be Used with Command-Line Arguments

3 participants