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 argument for version info #67

Closed
wwuck opened this issue Aug 21, 2019 · 2 comments
Closed

Command line argument for version info #67

wwuck opened this issue Aug 21, 2019 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@wwuck
Copy link
Contributor

wwuck commented Aug 21, 2019

It would be nice to have protolint output it's version string when outputting the help information.

Some possibilities:

protolint output could be amended to output version information.
protolint -version could output just the version information.
protolint -help could output the help/usage information and version information.

@yoheimuta
Copy link
Owner

@tomascassidy Thank you for your suggestion!

It makes sense.

protolint -version could output just the version information.

This way seems to be an easier way for now.

@yoheimuta yoheimuta added enhancement New feature or request good first issue Good for newcomers labels Aug 21, 2019
@yoheimuta
Copy link
Owner

I added a new subcommand "version".

$ protolint version
protolint version 0.20.0(8bf4c69)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants