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

Changed vsgconv to handle missing output_filename argument #159

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

lufriem
Copy link
Contributor

@lufriem lufriem commented Aug 15, 2023

The vsgconv tool would fail with a confusing error message if the caller failed to specify the output_filename.

This commit adds a check for the required minimum number of argument before starting to actually parse the input arguments using the ReaderWriters and quits, emitting an appropriate error message, if that number of arguments was not specified.

Fixes #158

lufriem and others added 2 commits August 15, 2023 20:31
…e parameter was specified. If that was not the case the program will quit with an appropriate error message.

This commit fixes vsg-dev#158
@robertosfield
Copy link
Collaborator

I have moved the check to before the outputFilename is assigned.

@robertosfield robertosfield merged commit 5bde9d5 into vsg-dev:master Aug 17, 2023
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.

vsgconv does not properly handle a missing 'output_filefilename' argument
2 participants