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

Specifying file/directory on the command line does nothing #198

Open
bandithedoge opened this issue Jan 13, 2025 · 1 comment
Open

Specifying file/directory on the command line does nothing #198

bandithedoge opened this issue Jan 13, 2025 · 1 comment
Labels
A-cli Area - Command Line Interface C-bug Category - Something isn't working

Comments

@bandithedoge
Copy link

Version
b6671c1 (also happens on 0.4.3)

Describe the bug
Directory/file paths added to the command line are ignored and zlint recursively checks everything in the current directory anyway.

To Reproduce
zig-out/bin/zlint src/semantic or zig-out/bin/zlint src/semantic/Semantic.zig

Expected behavior
zlint only checks the specified path

Screenshots
image
image

@bandithedoge bandithedoge added the C-bug Category - Something isn't working label Jan 13, 2025
@DonIsaac
Copy link
Owner

Yeah this feature needs to be added. This is next up on my list, after I improve no-undefined a bit. PRs welcome :)

@DonIsaac DonIsaac added the A-cli Area - Command Line Interface label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Area - Command Line Interface C-bug Category - Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants