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

Added --version flag to lfcand improved error messages #979

Merged
merged 2 commits into from
Feb 25, 2022

Conversation

cmnrd
Copy link
Collaborator

@cmnrd cmnrd commented Feb 25, 2022

This PR implements the features requested in #919 and #927. These are a --version CLI argument for lfc and an improved error message when lfc is run on a none-LF file.

Closes #919
Closes #927

@cmnrd cmnrd added this to the 0.1.0 milestone Feb 25, 2022
@cmnrd cmnrd requested a review from lhstrh February 25, 2022 12:29
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! We'll have to make sure to keep updating the version string in Main.java. I'm thinking there might also be other places where we might want to display a version number (we probably already are), so I think we might want to move the version string into the main org.lflang package. We can do that at a later time. I created an issue: #980

@lhstrh lhstrh changed the title lfc improvements Added --version flag to lfcand improved error messages Feb 25, 2022
@lhstrh lhstrh merged commit a58ae47 into master Feb 25, 2022
@lhstrh lhstrh deleted the lfc-improvements branch February 25, 2022 18:17
@lhstrh lhstrh added the enhancement Enhancement of existing feature label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a -v / --version flag to lfc Produce informative message when lfc is run on non-LF files
2 participants