-
Notifications
You must be signed in to change notification settings - Fork 2
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
Setting a default port? #15
Comments
bind_or can be used, but the default won't show up in the help message. I don't think there's anything that can be done to make it visible, but it's worth considering it. Completely agree.
That's an excellent point; not sure what the best approach is to dealing with that. For me the |
Maybe the user could define their own |
Another thing, right now you can't change the help message and environment variable name (I think). I love the idea of being able to bind to a port regardless of how it's configured, but this approach seems a bit finicky to me. |
bind_or
can be used, but the default won't show up in the help message. I don't think there's anything that can be done to make it visible, but it's worth considering it.There's also the issue of it failing due to e.g. permission errors. If I specify a port in the command line, I don't expect the default to be used if another program is listening on it.
The text was updated successfully, but these errors were encountered: