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

refactor: Use CommandLineToArgvW equivalents to parse args line #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fuweichin
Copy link

The goal of this change is to parse nginx configure arguments which can be get by nginx -V.

TODO This PR isn't ready to be merged to the master branch directly, I hope someone checkout the commit, update the tests and merge the changes. I'm using Visual Studio 2022, so some old targets (like .net45,.netstandard1.6) may not be covered.

BREAKING CHANGE: quote with single quotes are not supported, comes double quote escaping and backslash escaping.

The goal of this change is to parse nginx configure arguments which can be get by `nginx -V`.

TODO Tests need to be updated.

BREAKING CHANGE: quote with single quotes are not supported, double quote escaping and backslash escaping.
Allow double-quotes and spaces when separators are set to equal (=) and/or colon (:), base on previous commit "refactor: Use CommandLineToArgvW equivalents to parse args line".

This maybe a BREAKING CHANGE, empty arg values are also allowed now.
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.

None yet

1 participant