Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reparse argv #17

Merged
merged 2 commits into from
Nov 20, 2011
Merged

Reparse argv #17

merged 2 commits into from
Nov 20, 2011

Conversation

mmalecki
Copy link
Contributor

This issue came up during flatiron refactor of forever. Calling system.loadArgv() didn't actually load them, so it was impossible to manipulate process.argv on the fly.

Test included.

It allows manipulating `process.argv` on the fly while still being able
to use nconf `System` store.
@mmalecki
Copy link
Contributor Author

Actually, maybe we should reset the store before doing that? Now just reparsing it has no effect if some options have been removed.

mmalecki added a commit to foreversd/forever that referenced this pull request Nov 19, 2011
@indexzero indexzero merged commit 2475d06 into master Nov 20, 2011
mmalecki added a commit to foreversd/forever that referenced this pull request Nov 21, 2011
mmalecki added a commit to foreversd/forever that referenced this pull request Nov 23, 2011
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