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

#5871 Added "-v" flag as well along with "version" #5875

Conversation

Tushar-kalsi
Copy link

Fixed #5871
Added -v RegisterCommond component in /cmd/commonds.go file which will work as "caddy -v" in cli to show the current version . Not removed existing version RegisterCommond component which means both "caddy version" and "caddy -v" works same .

Both -v and version flag works same to give version of caddy .
@francislavoie
Copy link
Member

Superseded by #5874

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.

Add -v flag support to main CLI command
2 participants