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

Command line parsing issues #32

Open
ignaciovidalfranco opened this issue Dec 12, 2017 · 0 comments
Open

Command line parsing issues #32

ignaciovidalfranco opened this issue Dec 12, 2017 · 0 comments

Comments

@ignaciovidalfranco
Copy link

This is by no means critical, but I guess it is better to document it. If I do:

compy -cert cert.crt -key cert.key -ca ca.crt -cakey ca.key -jpeg 40 -gif false -gzip 9 -brotli 11 -minify true -host :1234

compy ignores the -host option:

2017/12/13 00:28:23 compy listening on :9999

But if I do
compy -cert cert.crt -key cert.key -ca ca.crt -cakey ca.key -host :1234 -jpeg 40 -gif false -gzip 9 -brotli 11 -minify true

The proxy now listens on port 1234

I think the command line is not correctly parsing the command line options on some situations.

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

No branches or pull requests

1 participant