-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add -v
flag support to main CLI command
#5871
Comments
|
No, It's conventional to have |
Both -v and version flag works same to give version of caddy .
Yep! I only happened to see it because it was quoted by @MattWilcox where I could see it on Mastodon. Feel free to reach out to us directly, or on the forums, or open an issues if you have complaints next time! Something worth mentioning, there seems to have been a misunderstanding about manpages. We definitely do ship manpages with our .deb and .rpm distributions. It depends how you actually installed Caddy though, if you didn't install it with one of those ways. |
@francislavoie Arch Linux still does not appear to have Caddy manpages when installed from the official package.
|
Ah. We (the core Caddy maintainers) don't maintain the Arch repo. FYI @anthraxx @shibumi FYI we have a |
Did try to CC you about this, but then couldn't work out how to do so via Mastodon, then decided firefish must not talk with Mastodon. Or I'm just missing something! |
@MattWilcox Firefish should be able to communicate with Mastodon like normal! I haven't been aware of any federation issues with our Firefish instance. Glad you at least got it over, I initially made that post in like 2 seconds and didn't expect it to blow up or it actually change anything and didn't think much of it after c: Especially since it seems like every piece of Go software has this behaviour. |
@francislavoie thank you for the hint. I will take a look! :) |
Most a note-to-self to implement this, but if someone wants to open a PR before I do, by all means.
In the past, we used Go's stdlib flags which meant it was not possible to support
caddy -v
. But we've since switched to Cobra, so it's now possible to do so.For context, some users were complaining about this on social media:
The text was updated successfully, but these errors were encountered: